Updated account
This commit is contained in:
parent
e0b3db8ece
commit
ce4a75c992
|
@ -4,6 +4,7 @@ import sqlite3
|
||||||
import configparser
|
import configparser
|
||||||
import subprocess
|
import subprocess
|
||||||
import os
|
import os
|
||||||
|
import re
|
||||||
from waitress import serve
|
from waitress import serve
|
||||||
|
|
||||||
# Load from config.ini
|
# Load from config.ini
|
||||||
|
@ -166,11 +167,6 @@ def register():
|
||||||
|
|
||||||
passwordhash = fetch_hash_from_database(username)
|
passwordhash = fetch_hash_from_database(username)
|
||||||
|
|
||||||
print(username)
|
|
||||||
print(password)
|
|
||||||
print(verifyhash)
|
|
||||||
print(passwordhash)
|
|
||||||
|
|
||||||
if verifyhash == passwordhash:
|
if verifyhash == passwordhash:
|
||||||
# Attempt to change the password
|
# Attempt to change the password
|
||||||
if change_email_password(username, password):
|
if change_email_password(username, password):
|
||||||
|
|
Loading…
Reference in New Issue