summaryrefslogtreecommitdiffstats
path: root/accounts/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/models.py')
-rw-r--r--accounts/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/models.py b/accounts/models.py
index c897815..7bbb235 100644
--- a/accounts/models.py
+++ b/accounts/models.py
@@ -71,7 +71,7 @@ class Account(UserMixin):
def _set_attribute(self, key: str, value: Any) -> None:
self.attributes[key] = value
- def change_email(self, new_mail: str):
+ def change_email(self, new_mail: str) -> None:
"""
Changes the mail address of an account. You have to use the
AccountService class to make changes permanent.