mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-05 03:18:44 +00:00
Remove session details on signout
This commit is contained in:
parent
35a8c247d9
commit
911c9b7993
9 changed files with 49 additions and 3 deletions
|
@ -40,3 +40,8 @@ func (repo *sessionRepo) Get(id string) (s model.Session, err error) {
|
|||
|
||||
return
|
||||
}
|
||||
|
||||
func (repo *sessionRepo) Remove(id string) {
|
||||
repo.db.Remove(id)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue