git.iko.soy/typeable/oauth2-proxy
on master help sign in
Fix session_state type
commite881612ea622dfed39265796076973ae72acfe9b authorBrian Van Klaveren <bvan@slac.stanford.edu> dateWed 8 May 2019, 12:35 (7 years ago) parent1355c1c
1 file changed+2−2
pkg/apis/sessions/session_state.go+2−2
pkg/apis/sessions/session_state.go+2−2
@@ -203,14 +203,14 @@ func DecodeSessionState(v string, c *cookie.Cipher) (*SessionState, error) {
203203 User: ss.User,
204204 }
205205 } else {
206− // Backward compatibility with using unecrypted Email
206+ // Backward compatibility with using unencrypted Email
207207 if ss.Email != "" {
208208 decryptedEmail, errEmail := c.Decrypt(ss.Email)
209209 if errEmail == nil {
210210 ss.Email = decryptedEmail
211211 }
212212 }
213− // Backward compatibility with using unecrypted User
213+ // Backward compatibility with using unencrypted User
214214 if ss.User != "" {
215215 decryptedUser, errUser := c.Decrypt(ss.User)
216216 if errUser == nil {