Compare commits

...

2 Commits

Author SHA1 Message Date
3c57cb833e Merge branch 'master' of https://repositories.action2quare.com/ayo/maingate 2024-08-22 11:26:15 +09:00
c82b52fae6 세션 되돌림 2024-08-22 11:26:13 +09:00
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ func (caller apiCaller) blockAPI(w http.ResponseWriter, r *http.Request) error {
bi.Accid = accid bi.Accid = accid
caller.mg.bl.add(&bi) caller.mg.bl.add(&bi)
mg.sessionProvider.Revoke(accid) mg.sessionProvider.RevokeAll(accid)
} }
} }
} else if r.Method == "DELETE" { } else if r.Method == "DELETE" {

View File

@ -681,7 +681,7 @@ func (sh *serviceDescription) authorize_dev(w http.ResponseWriter, r *http.Reque
Accid: authinfo.Account, Accid: authinfo.Account,
}) })
} }
sh.sessionProvider.Revoke(authinfo.Account) sh.sessionProvider.RevokeAll(authinfo.Account)
} }
return return