mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-29 07:21:27 +00:00
Added gaps in the user configuration snippet template
This commit is contained in:
parent
a4987210ac
commit
1071bc459b
5
main.py
5
main.py
|
@ -85,12 +85,15 @@ def createUser():
|
|||
|
||||
|
||||
userTemplate = """
|
||||
|
||||
#begin
|
||||
\"{0}\" = {{
|
||||
isNormalUser = true;
|
||||
hashedPassword = \"{1}\";
|
||||
}};
|
||||
#end""".format(request.headers.get("X-User"), request.headers.get("X-Password"))
|
||||
#end
|
||||
|
||||
""".format(request.headers.get("X-User"), request.headers.get("X-Password"))
|
||||
|
||||
print("[TRACE] {0}".format(userTemplate))
|
||||
|
||||
|
|
Loading…
Reference in a new issue