This commit is contained in:
simonzhangsz committed 2023-08-24 10:00:27 +08:00
1 parent 254bf9dbdb
commit a715828a2a
8 files changed
+130 -115

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ func GetSSOFromAAAA(w http.ResponseWriter, r *http.Request) {
services.ResponseInternalServerError500ProcessError(w, err)
return
}
token := oauth.GenRandToken() // Generate new token to session ID
token := oauth.GenRandToken("aaaa") // Generate new token to session ID
affected, err := dborm.XormInsertSession(accid, r.RemoteAddr, token,
config.GetExpiresFromConfig(), config.GetYamlConfig().Auth.Session)
if err != nil {