|
@@ -52,7 +52,7 @@ if __name__ == "__main__":
|
|
|
if "config" in args and args.config:
|
|
|
config = yaml.safe_load(args.config)
|
|
|
bcrypt_rounds = config.get("bcrypt_rounds", bcrypt_rounds)
|
|
|
- password_config = config.get("password_config", {})
|
|
|
+ password_config = config.get("password_config", None) or {}
|
|
|
password_pepper = password_config.get("pepper", password_pepper)
|
|
|
password = args.password
|
|
|
|