mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
clear cookie if non-existent session.
This commit is contained in:
@ -51,6 +51,6 @@ type SessionManager interface {
|
||||
ImplicitHosting() bool
|
||||
|
||||
CookieSetToken(w http.ResponseWriter, token string)
|
||||
CookieClearToken(w http.ResponseWriter)
|
||||
CookieClearToken(w http.ResponseWriter, r *http.Request)
|
||||
Authenticate(r *http.Request) (Session, error)
|
||||
}
|
||||
|
Reference in New Issue
Block a user