Added gaps in the user configuration snippet template

pull/2/head
Illia Chub 2021-07-02 18:39:24 +03:00
parent a4987210ac
commit 1071bc459b
1 changed files with 4 additions and 1 deletions

View File

@ -85,12 +85,15 @@ def createUser():
userTemplate = """ userTemplate = """
#begin #begin
\"{0}\" = {{ \"{0}\" = {{
isNormalUser = true; isNormalUser = true;
hashedPassword = \"{1}\"; 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)) print("[TRACE] {0}".format(userTemplate))