Skip to content

Commit eca4c71

Browse files
committed
Extra self
1 parent 9071d7f commit eca4c71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notebook/auth/login.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def post(self):
8282
self.set_login_cookie(self, uuid.uuid4().hex)
8383
elif self.token and self.token == typed_password:
8484
self.set_login_cookie(self, uuid.uuid4().hex)
85-
if self.new_password and self.settings.get('allow_password_change'):
85+
if new_password and self.settings.get('allow_password_change'):
8686
config_dir = self.settings.get('config_dir')
8787
config_file = os.path.join(config_dir, 'jupyter_notebook_config.json')
8888
set_password(new_password, config_file=config_file)

0 commit comments

Comments
 (0)