示例#1
0
def forgot():
    return model.reset_password()
示例#2
0
文件: index.py 项目: sean-hayes/zoom
 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)