diff --git a/apps/users/notifications.py b/apps/users/notifications.py index c9e5a0521..99aeb77b7 100644 --- a/apps/users/notifications.py +++ b/apps/users/notifications.py @@ -169,7 +169,7 @@ class PasswordExpirationReminderMsg(UserMessage): class UserExpirationReminderMsg(UserMessage): def get_html_msg(self) -> dict: subject = _('Account is about expire') - date_expired_local = timezone.localtime(self.user.date_password_expired) + date_expired_local = timezone.localtime(self.user.date_expired) date_expired = date_expired_local.strftime('%Y-%m-%d %H:%M:%S') context = { 'name': self.user.name,