Skip to content
Snippets Groups Projects
Commit 29cd8799 authored by Martin Mareš's avatar Martin Mareš
Browse files

mo.users.set_password nezapisuje do DB logu

Všichni volající už logují sami o sobě.
parent fc7fa83b
No related branches found
No related tags found
1 merge request!86Registrace
......@@ -179,12 +179,6 @@ def set_password(user: db.User, passwd: str):
user.reset_at = None
user.last_login_at = datetime.datetime.now()
mo.util.log(
type=db.LogType.user,
what=user.user_id,
details={"action": "set-passwd"},
)
def check_password(user: db.User, passwd: str):
return user.password_hash is not None and \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment