summaryrefslogtreecommitdiff
path: root/talerbank/app/management
diff options
context:
space:
mode:
Diffstat (limited to 'talerbank/app/management')
-rw-r--r--talerbank/app/management/commands/changepassword_unsafe.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/talerbank/app/management/commands/changepassword_unsafe.py b/talerbank/app/management/commands/changepassword_unsafe.py
index ea7a708..d2f88d1 100644
--- a/talerbank/app/management/commands/changepassword_unsafe.py
+++ b/talerbank/app/management/commands/changepassword_unsafe.py
@@ -57,6 +57,7 @@ class Command(BaseCommand):
try:
existing_user = User.objects.get(username=accountname)
existing_user.set_password(password)
+ existing_user.save()
except User.DoesNotExist:
print(
f"Account {accountname} does not exist"