mirror of
https://github.com/hacdias/webdav.git
synced 2026-09-22 03:20:41 +08:00
feat: allow empty passwords
License: MIT Signed-off-by: Henrique Dias <[email protected]>
This commit is contained in:
+1
-1
@@ -91,7 +91,7 @@ func parseUsers(raw []map[string]interface{}, c *cfg) {
|
||||
|
||||
password, ok := r["password"].(string)
|
||||
if !ok {
|
||||
log.Fatal("user needs a password")
|
||||
password = ""
|
||||
}
|
||||
|
||||
// load password from environment when prefix {env} is added
|
||||
|
||||
Reference in New Issue
Block a user