fix: possible fix for proxy auth requiring login page
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
This commit is contained in:
1 parent
85899acae6
commit
84f108f1c5
6 files changed
+24
-1
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user