mirror of
https://github.com/hacdias/webdav.git
synced 2026-09-22 03:20:41 +08:00
feat: warn users will be ignored
License: MIT Signed-off-by: Henrique Dias <[email protected]>
This commit is contained in:
@@ -223,6 +223,10 @@ func parseConfig() *cfg {
|
||||
},
|
||||
}
|
||||
|
||||
if len(data.Users) != 0 && !data.Auth {
|
||||
log.Print("Users will be ignored due to auth=false")
|
||||
}
|
||||
|
||||
if len(data.Rules) != 0 {
|
||||
config.webdav.User.Rules = parseRules(data.Rules)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user