diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-12 16:40:52 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-12 16:40:52 +0100 |
commit | b24cc85fb19b80fe4f67f7b9a88cab7d5af282f3 (patch) | |
tree | 71306947050ec8fd49e49aabcd53cfa110678848 /server.go | |
parent | f07ab5263246d940fbc1d646bcdb5663398378d0 (diff) | |
download | alps-b24cc85fb19b80fe4f67f7b9a88cab7d5af282f3.tar.gz alps-b24cc85fb19b80fe4f67f7b9a88cab7d5af282f3.zip |
Fix undefined ErrSessionExpired
Fixes: f07ab5263246 ("Add docs")
Diffstat (limited to 'server.go')
-rw-r--r-- | server.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ func New(e *echo.Echo, options *Options) error { } ctx.Session, err = ctx.Server.Sessions.get(cookie.Value) - if err == ErrSessionExpired { + if err == errSessionExpired { ctx.SetSession(nil) return ctx.Redirect(http.StatusFound, "/login") } else if err != nil { |