diff options
author | r <r@freesoftwareextremist.com> | 2020-03-04 15:59:59 +0000 |
---|---|---|
committer | r <r@freesoftwareextremist.com> | 2020-03-04 15:59:59 +0000 |
commit | 911c9b79937a82bd4574972fa24f45f5cb922092 (patch) | |
tree | c0f0ce04c6e0d0e2b8a7b552b8cb887ceb362ad5 /repo | |
parent | 35a8c247d910f4a17aea5dd9df511f6e44bbc4bf (diff) | |
download | bloat-911c9b79937a82bd4574972fa24f45f5cb922092.tar.gz bloat-911c9b79937a82bd4574972fa24f45f5cb922092.zip |
Remove session details on signout
Diffstat (limited to 'repo')
-rw-r--r-- | repo/sessionRepo.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/repo/sessionRepo.go b/repo/sessionRepo.go index ce923b1..15e3d31 100644 --- a/repo/sessionRepo.go +++ b/repo/sessionRepo.go @@ -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 +} |