Removing obsolete comment from EncodeSessionState
This commit is contained in:
parent
f5a6609b45
commit
f7c85a4d16
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user