forked from rDrama/rDrama
1
0
Fork 0

stop the 12345678 approach

master
Aevann 2023-12-18 21:31:29 +02:00
parent 6a816555a5
commit 5133f94c12
1 changed files with 3 additions and 1 deletions

View File

@ -1937,9 +1937,11 @@ def admin_reset_password(user_id, v):
g.db.add(ma)
text = f"At your request, @{v.username} (a site admin) has reset your password to `{new_password}`, please change this to something else for personal security reasons. And be sure to save it this time, retard."
send_repeatable_notification(user.id, text)
text = f"@{v.username}'s new password is `{new_password}`"
send_repeatable_notification(v.id, text)
return {"message": f"@{user.username}'s password has been reset! The new password has been messaged to them!"}
@app.get("/admin/orgies")