bug fix: joomla install

This commit is contained in:
Usman Nasir
2020-02-02 16:11:09 +05:00
parent 26261ce422
commit 8b99e35872
2 changed files with 2 additions and 2 deletions

View File

@@ -1963,7 +1963,7 @@ class WebsiteManager:
## Installation
salt = randomPassword.generate_pass(32)
# return salt
password_hash = hashlib.md5(password + salt).hexdigest()
password_hash = hashlib.md5((password + salt).encode('utf-8')).hexdigest()
password = password_hash + ":" + salt
statusFile = open(tempStatusPath, 'w')