make post on ResetPasswordHandler demand authentication
This commit is contained in:
parent
3ab98fa0dc
commit
1e6c7adcbb
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ class ResetPasswordHandler(BaseHandler):
|
||||||
html = self.render_template('reset.html')
|
html = self.render_template('reset.html')
|
||||||
self.finish(html)
|
self.finish(html)
|
||||||
|
|
||||||
|
@web.authenticated
|
||||||
async def post(self):
|
async def post(self):
|
||||||
data = {}
|
data = {}
|
||||||
for arg in self.request.arguments:
|
for arg in self.request.arguments:
|
||||||
|
|
Loading…
Add table
Reference in a new issue