fix: possible fix for proxy auth requiring login page

License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
Henrique Dias
2019-02-15 12:58:45 +00:00
parent 85899acae6
commit 84f108f1c5
6 changed files with 24 additions and 1 deletions

View File

@@ -10,4 +10,6 @@ import (
type Auther interface {
// Auth is called to authenticate a request.
Auth(r *http.Request, s *users.Storage, root string) (*users.User, error)
// LoginPage indicates if this auther needs a login page.
LoginPage() bool
}