From 3afb196a57146f69557c4b27128bd445d8ab32d8 Mon Sep 17 00:00:00 2001 From: Brian Van Klaveren Date: Wed, 8 May 2019 12:35:15 -0700 Subject: [PATCH] Fix session_state type --- pkg/apis/sessions/session_state.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/sessions/session_state.go b/pkg/apis/sessions/session_state.go index e085976..01789ff 100644 --- a/pkg/apis/sessions/session_state.go +++ b/pkg/apis/sessions/session_state.go @@ -203,14 +203,14 @@ func DecodeSessionState(v string, c *cookie.Cipher) (*SessionState, error) { User: ss.User, } } else { - // Backward compatibility with using unecrypted Email + // Backward compatibility with using unencrypted Email if ss.Email != "" { decryptedEmail, errEmail := c.Decrypt(ss.Email) if errEmail == nil { ss.Email = decryptedEmail } } - // Backward compatibility with using unecrypted User + // Backward compatibility with using unencrypted User if ss.User != "" { decryptedUser, errUser := c.Decrypt(ss.User) if errUser == nil {