mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-13 13:17:50 +08:00
Extra self
This commit is contained in:
parent
9071d7f36e
commit
eca4c71056
@ -82,7 +82,7 @@ class LoginHandler(IPythonHandler):
|
||||
self.set_login_cookie(self, uuid.uuid4().hex)
|
||||
elif self.token and self.token == typed_password:
|
||||
self.set_login_cookie(self, uuid.uuid4().hex)
|
||||
if self.new_password and self.settings.get('allow_password_change'):
|
||||
if new_password and self.settings.get('allow_password_change'):
|
||||
config_dir = self.settings.get('config_dir')
|
||||
config_file = os.path.join(config_dir, 'jupyter_notebook_config.json')
|
||||
set_password(new_password, config_file=config_file)
|
||||
|
Loading…
x
Reference in New Issue
Block a user