Skeleton of resetrequest function
This commit is contained in:
parent
c075872b43
commit
0842679b55
6 changed files with 113 additions and 24 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue