def forgot(): return model.reset_password()
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)