Ejemplo n.º 1
0
def forgot():
    return model.reset_password()
Ejemplo n.º 2
0
 def reset_password_button(self, view, token, new_password="", confirm=""):
     print((view, token, new_password, confirm))
     if reset_form.validate(dict(new_password=new_password, confirm=confirm)):
         return model.reset_password(token, new_password, confirm)