Update react app

This commit is contained in:
Lakhan Samani
2023-12-26 21:08:12 +05:30
parent ed3100c179
commit 59ed4e273f
6 changed files with 13 additions and 13 deletions

View File

@@ -354,7 +354,7 @@ func ValidateBrowserSession(gc *gin.Context, encryptedSession string) (*SessionD
}
token, err := memorystore.Provider.GetUserSession(sessionStoreKey, constants.TokenTypeSessionToken+"_"+res.Nonce)
if token == "" || err != nil {
log.Debug("invalid browser session:", err)
log.Debugf("invalid browser session: %v, key: %s", err, sessionStoreKey+":"+constants.TokenTypeSessionToken+"_"+res.Nonce)
return nil, fmt.Errorf(`unauthorized`)
}