diff --git a/nativeauthenticator/handlers.py b/nativeauthenticator/handlers.py index 0e88f56..62bfff8 100644 --- a/nativeauthenticator/handlers.py +++ b/nativeauthenticator/handlers.py @@ -123,7 +123,7 @@ async def get(self): @web.authenticated async def post(self): - user = self.get_current_user() + user = await self.get_current_user() new_password = self.get_body_argument('password', strip=False) self.authenticator.change_password(user.name, new_password)