Renamed DisableValidation to DisableAuthentication

This commit is contained in:
Deluan authored and Deluan Quintão committed 2020-01-09 22:44:45 -05:00
1 parent 0388d67817
commit ff5b91da54
4 files changed
+5 -21

No files matched your search

+1 -1
View File
@@ -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
}