Removing obsolete comment from EncodeSessionState

This commit is contained in:
Costel Moraru 2019-04-10 15:28:03 +03:00
parent f5a6609b45
commit f7c85a4d16

View File

@ -62,7 +62,6 @@ func (s *SessionState) EncodeSessionState(c *cookie.Cipher) (string, error) {
} else { } else {
ss = *s ss = *s
var err error var err error
// Encrypt also Email and User when cipher is provided
if ss.Email != "" { if ss.Email != "" {
ss.Email, err = c.Encrypt(ss.Email) ss.Email, err = c.Encrypt(ss.Email)
if err != nil { if err != nil {