Skip to content

Commit

Permalink
Merge pull request #78 from hiroki-sawano/fix-change-password
Browse files Browse the repository at this point in the history
Fix failed to change password due to compatibility issues with JupyterHub 1.0.0
  • Loading branch information
leportella authored Aug 8, 2019
2 parents 919a374 + bdabc4b commit 78ada0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nativeauthenticator/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 78ada0e

Please sign in to comment.