diff --git a/home/auth.go b/home/auth.go index 98f2ccae..0bcf0ed3 100644 --- a/home/auth.go +++ b/home/auth.go @@ -460,6 +460,7 @@ func (a *Auth) GetCurrentUser(r *http.Request) User { u := config.auth.UserFind(user, pass) return u } + return User{} } a.lock.Lock()