Correcting password storage in config
This commit is contained in:
8
main.py
8
main.py
@@ -132,13 +132,13 @@ def initialize_app():
|
||||
'password_hash': PasswordHasher().hash(password)
|
||||
}
|
||||
|
||||
username = input("Enter the username for MW40V")
|
||||
password = input("Enter the password for MW40V")
|
||||
username_mw40v = input("Enter the username for MW40V")
|
||||
password_mw40v = input("Enter the password for MW40V")
|
||||
encrypt_key = input("Enter the encrypt_key for MW40V")
|
||||
verification_key = input("Enter the verification_key for MW40V")
|
||||
config['MW40V'] = {
|
||||
'username': username,
|
||||
'password': PasswordHasher().hash(password),
|
||||
'username': username_mw40v,
|
||||
'password': password_mw40v,
|
||||
'encrypt_key': encrypt_key,
|
||||
'verification_key': verification_key
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user