mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-04 10:58:48 +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
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue