forked from SelfPrivacy/selfprivacy-rest-api
Removed odd spaces at the end of hash
parent
2f526c7bcd
commit
568add06c6
1
main.py
1
main.py
|
@ -78,6 +78,7 @@ def createUser():
|
|||
passwordHashProcessDescriptor = subprocess.Popen(hashingCommand, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
|
||||
hashedPassword = passwordHashProcessDescriptor.communicate()[0]
|
||||
hashedPassword = hashedPassword.decode("ascii")
|
||||
hashedPassword = hashedPassword.rstrip()
|
||||
|
||||
print("[TRACE] {0}".format(hashedPassword))
|
||||
|
||||
|
|
Loading…
Reference in New Issue