mirror of
https://github.com/navidrome/navidrome.git
synced 2025-08-10 00:52:20 +00:00
Renamed DisableValidation to DisableAuthentication
This commit is contained in:
@@ -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