mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-05 13:37:38 +03:00
Renamed DisableValidation to DisableAuthentication
This commit is contained in:
parent
0388d67817
commit
ff5b91da54
4 changed files with 5 additions and 21 deletions
|
@ -21,7 +21,7 @@ func Router() http.Handler {
|
|||
r.Use(checkRequiredParameters)
|
||||
|
||||
// Add validation middleware if not disabled
|
||||
if !conf.Sonic.DisableValidation {
|
||||
if !conf.Sonic.DisableAuthentication {
|
||||
r.Use(authenticate)
|
||||
// TODO Validate version
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue