sync update from LAN repo (source dhk-1 @ 3b1ec5b4)
This commit is contained in:
1 parent
da6521b6cb
commit
264e2200d6
995 files changed
+148105
-13399
No files matched your search
@@ -64,8 +64,7 @@ async def _run(email: str | None) -> int:
|
||||
return 1
|
||||
|
||||
new_password = secrets.token_urlsafe(16)
|
||||
user.password_hash = hash_password(new_password)
|
||||
user.token_version += 1
|
||||
user = await repo.update_credentials(user, hash_password(new_password))
|
||||
user.needs_setup = True
|
||||
await repo.update_user(user)
|
||||
|
||||
|
||||
Reference in new issue
Block a user