mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 14:07:16 +02:00
Update admin.py
This commit is contained in:
parent
f58354ce23
commit
e69e34311c
1 changed files with 1 additions and 1 deletions
|
|
@ -405,7 +405,7 @@ class CmdNewPassword(COMMAND_DEFAULT_CLASS):
|
||||||
|
|
||||||
account.set_password(newpass)
|
account.set_password(newpass)
|
||||||
account.save()
|
account.save()
|
||||||
self.msg(f"{account.name} - new password set to '{new pass}'.")
|
self.msg(f"{account.name} - new password set to '{newpass}'.")
|
||||||
if account.character != caller:
|
if account.character != caller:
|
||||||
account.msg(f"{caller.name} has changed your password to '{newpass}'.")
|
account.msg(f"{caller.name} has changed your password to '{newpass}'.")
|
||||||
logger.log_sec(
|
logger.log_sec(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue