mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-01-23 02:35:10 +00:00
Disable the logout method for authentication methods other than 'json' (currently 'proxy' and 'none'.)
This commit is contained in:
parent
118071ba4b
commit
b42b09ccbe
3 changed files with 7 additions and 3 deletions
|
|
@ -34,6 +34,7 @@ func handleWithStaticData(w http.ResponseWriter, r *http.Request, d *data, box *
|
|||
"StaticURL": staticURL,
|
||||
"Signup": d.settings.Signup,
|
||||
"NoAuth": d.settings.AuthMethod == auth.MethodNoAuth,
|
||||
"AuthMethod": d.settings.AuthMethod,
|
||||
"LoginPage": auther.LoginPage(),
|
||||
"CSS": false,
|
||||
"ReCaptcha": false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue