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

@ -20,6 +20,7 @@ type Session struct {
type SessionRepo interface {
Add(session Session) (err error)
Get(sessionID string) (session Session, err error)
Remove(sessionID string)
}
func (s Session) IsLoggedIn() bool {