forked from mrlan/EnglishPal
build.sh: Install requirements first.
parent
b34f260d98
commit
691c5b0d43
|
@ -114,5 +114,5 @@ def get_users():
|
|||
|
||||
def update_user_password(username, password="123456"):
|
||||
with db_session:
|
||||
if user := User.select(name=username).first():
|
||||
if if user := User.select(name=username).first():
|
||||
user.password = md5(username + password)
|
||||
|
|
Loading…
Reference in New Issue