mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-22 03:06:54 +03:00
Renamed DisableValidation to DisableAuthentication
This commit is contained in:
1 parent
0388d67817
commit
ff5b91da54
4 files changed
+5
-21
No files matched your search
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user