Skip to content

Commit

Permalink
Merge pull request #55 from gongqi-zhen/topic/fix-set-proper-value
Browse files Browse the repository at this point in the history
fix: use proper value
  • Loading branch information
trung-doan committed Jun 2, 2023
2 parents be577bf + 5701ac0 commit 11fd1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func checkAuth(response http.ResponseWriter, request *http.Request) {
authBasic := request.Header.Get(AUTH_HEADER_BASIC)

userAndPass := base64.StdEncoding.EncodeToString(
[]byte(KINTONE_USERNAME + ":" + KINTONE_USERNAME))
[]byte(KINTONE_USERNAME + ":" + KINTONE_PASSWORD))

userAndPassBasic := "Basic " + base64.StdEncoding.EncodeToString(
[]byte(BASIC_AUTH_USER+":"+BASIC_AUTH_PASSWORD))
Expand Down

0 comments on commit 11fd1b0

Please sign in to comment.