Remove session details on signout

This commit is contained in:
r 2020-03-04 15:59:59 +00:00
parent 35a8c247d9
commit 911c9b7993
9 changed files with 49 additions and 3 deletions

View file

@ -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
}