summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2016-01-25 00:25:00 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2016-02-02 04:22:16 +0100
commit0c3916b18e583bd9aaab73cad0eda9bd1fe28c81 (patch)
treef287dfdbbad615b6edd9a2cac4ae47c7dc1c2ecd
parentada08227590c7e867bea449ced5234f550c839c2 (diff)
downloadweb-0c3916b18e583bd9aaab73cad0eda9bd1fe28c81.tar.gz
web-0c3916b18e583bd9aaab73cad0eda9bd1fe28c81.tar.bz2
web-0c3916b18e583bd9aaab73cad0eda9bd1fe28c81.zip
Fix comment
-rw-r--r--accounts/models.py5
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):