make post on ResetPasswordHandler demand authentication

This commit is contained in:
Leticia Portella 2018-09-26 13:26:52 -03:00
parent 3ab98fa0dc
commit 1e6c7adcbb

View file

@ -46,6 +46,7 @@ class ResetPasswordHandler(BaseHandler):
html = self.render_template('reset.html')
self.finish(html)
@web.authenticated
async def post(self):
data = {}
for arg in self.request.arguments: