mirror of
https://github.com/hacdias/webdav.git
synced 2024-04-21 12:32:06 +00:00
feat: allow empty passwords
License: MIT Signed-off-by: Henrique Dias <hacdias@gmail.com>
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