remove extra lines.
This commit is contained in:
parent
f1fc4c761d
commit
86f25aca46
6
auth.py
6
auth.py
|
@ -25,12 +25,6 @@ def read_pwdb(PWDB_PATH):
|
||||||
pwdb = {}
|
pwdb = {}
|
||||||
return pwdb
|
return pwdb
|
||||||
|
|
||||||
# def get_salt(username):
|
|
||||||
# ''' will return a unique variable'''
|
|
||||||
|
|
||||||
# salt =
|
|
||||||
# return salt
|
|
||||||
|
|
||||||
|
|
||||||
def pwhash(password):
|
def pwhash(password):
|
||||||
hashed_pass = hashlib.sha256(password.encode('utf-8')).hexdigest()
|
hashed_pass = hashlib.sha256(password.encode('utf-8')).hexdigest()
|
||||||
|
|
Loading…
Reference in a new issue