From 1e6c7adcbbe18d84bae77c873374b51d552b80fb Mon Sep 17 00:00:00 2001 From: Leticia Portella Date: Wed, 26 Sep 2018 13:26:52 -0300 Subject: [PATCH] make post on ResetPasswordHandler demand authentication --- firstuseauthenticator/firstuseauthenticator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/firstuseauthenticator/firstuseauthenticator.py b/firstuseauthenticator/firstuseauthenticator.py index 7836b8f..8699d56 100644 --- a/firstuseauthenticator/firstuseauthenticator.py +++ b/firstuseauthenticator/firstuseauthenticator.py @@ -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: