mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-20 10:23:12 +00:00
Always sync email_change_date on manual state change
This commit is contained in:
parent
b171ac64bb
commit
67b03827df
1 changed files with 2 additions and 1 deletions
|
@ -675,7 +675,8 @@ class StateForm(FormRevMixin, ModelForm):
|
||||||
if self.cleaned_data["state"]:
|
if self.cleaned_data["state"]:
|
||||||
user.state = self.cleaned_data.get("state")
|
user.state = self.cleaned_data.get("state")
|
||||||
user.state_sync()
|
user.state_sync()
|
||||||
user.email_change_date_sync()
|
|
||||||
|
user.email_change_date_sync()
|
||||||
user.save()
|
user.save()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue