pull/105/head
Apex Liu 2017-11-11 20:40:07 +08:00
parent 6e62cafe36
commit d634995bba
2 changed files with 7 additions and 0 deletions

View File

@ -55,6 +55,8 @@ controllers = [
# (r'/auth/oath-secret-qrcode', auth.OathSecretQrCodeHandler),
# (r'/auth/oath-secret-reset', auth.OathSecretResetHandler),
# (r'/auth/oath-update-secret', auth.OathUpdateSecretHandler),
# - 用户重设密码页面 /auth/reset-password?token=D3672DFF256B6B6F37AF8A922D7D83B4
(r'/auth/reset-password?token=D3672DFF256B6B6F37AF8A922D7D83B4', auth.ResetPasswordByTokenHandler),
#
# # (r"/log/replay/(.*)", tornado.web.StaticFileHandler, {"path": os.path.join(cfg.data_path, 'replay')}),
# (r"/log/replay/(.*)", record.ReplayStaticFileHandler, {"path": os.path.join(get_cfg().data_path, 'replay')}),

View File

@ -203,6 +203,11 @@ class VerifyCaptchaHandler(TPBaseJsonHandler):
return self.write_json(TPE_OK)
class ResetPasswordByTokenHandler(TPBaseHandler):
def get(self):
pass
# class ModifyPwd(TPBaseUserAuthJsonHandler):
# def post(self):
# args = self.get_argument('args', None)