세션 무효화 적용

This commit is contained in:
2024-02-21 12:23:51 +09:00
parent c0e1e229cd
commit f734ef099b
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.Delete(accid) mg.sessionProvider.Invalidate(accid)
} }
} }
} else if r.Method == "DELETE" { } else if r.Method == "DELETE" {

View File

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