From ef2b079d276a2e485383ce0e1a187d882ae5c1dc Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 4 Apr 2023 12:19:52 +0200 Subject: Manage expiration of passwords --- ishtar_common/wizards.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common/wizards.py') diff --git a/ishtar_common/wizards.py b/ishtar_common/wizards.py index f6b2894ab..72cd4db45 100644 --- a/ishtar_common/wizards.py +++ b/ishtar_common/wizards.py @@ -2040,6 +2040,7 @@ class AccountWizard(Wizard): if dct["password"]: account.set_password(dct["password"]) + account.password_last_update = datetime.date.today() account.save() profile_form = form_dict["profile-account_management"] -- cgit v1.2.3