1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-06-15 00:15:00 +02:00

chore: fix function names in comment

Signed-off-by: yudrywet <yudeyao@yeah.net>
This commit is contained in:
yudrywet
2024-04-14 20:01:33 +08:00
committed by Jan Larwig
parent e91f09875a
commit 4fe0d5659b
3 changed files with 3 additions and 3 deletions

View File

@ -1231,7 +1231,7 @@ func checkAllowedEmails(req *http.Request, s *sessionsapi.SessionState) bool {
return allowed
}
// encodedState builds the OAuth state param out of our nonce and
// encodeState builds the OAuth state param out of our nonce and
// original application redirect
func encodeState(nonce string, redirect string, encode bool) string {
rawString := fmt.Sprintf("%v:%v", nonce, redirect)