diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2016-01-25 00:25:00 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2016-02-02 04:22:16 +0100 |
commit | 0c3916b18e583bd9aaab73cad0eda9bd1fe28c81 (patch) | |
tree | f287dfdbbad615b6edd9a2cac4ae47c7dc1c2ecd /accounts/models.py | |
parent | ada08227590c7e867bea449ced5234f550c839c2 (diff) | |
download | web-0c3916b18e583bd9aaab73cad0eda9bd1fe28c81.tar.gz web-0c3916b18e583bd9aaab73cad0eda9bd1fe28c81.tar.bz2 web-0c3916b18e583bd9aaab73cad0eda9bd1fe28c81.zip |
Fix comment
Diffstat (limited to 'accounts/models.py')
-rw-r--r-- | accounts/models.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/accounts/models.py b/accounts/models.py index f967180..421b392 100644 --- a/accounts/models.py +++ b/accounts/models.py @@ -25,15 +25,14 @@ class Account(UserMixin): def __repr__(self): return "<Account uid=%s>" % self.uid - def reset_password(self, service): self.new_password_services[service] = (None, None) def change_password(self, new_password, old_password='', service=None): """ Changes a password for a given service. You have to use the - AccountService class to make the changes permanent. If no service is - given, the root password will be changed. + UserBackend to make the changes permanent. If no service is given, + the root password will be changed. """ if isinstance(new_password, unicode): |