Skeleton of resetrequest function

This commit is contained in:
downhill 2018-10-15 17:52:15 +02:00
commit 0842679b55
6 changed files with 113 additions and 24 deletions

View file

@ -222,19 +222,6 @@ class ChangeUserData(object):
return True
# Request a password reset
# TODO: Set up a system for it
# Basic idea: send email to customer with a confirmation request, set reply-to for something that handles it,
class PasswordResetRequest(object):
name = "passwordresetrequest"
dispatch = EventDispatcher()
@rpc
def send_request(self, user):
# TODO: Find a good system for that
return "To be done"
# change the password for the user
class ChangePassword(object):
name = "changepassword"