1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-12-01 22:51:45 +02:00

Drop fallback to email when user is empty (#537)

This commit is contained in:
Joel Speed
2020-05-12 16:04:51 +01:00
committed by GitHub
parent 7cf685140b
commit 4e3dd09cf2
5 changed files with 18 additions and 9 deletions

View File

@@ -193,8 +193,5 @@ func DecodeSessionState(v string, c *encryption.Cipher) (*SessionState, error) {
}
}
}
if ss.User == "" {
ss.User = ss.Email
}
return ss, nil
}