Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid binding the connection twice #142

Merged
merged 1 commit into from
Jan 23, 2020

Conversation

maboehm
Copy link

@maboehm maboehm commented Oct 1, 2019

In my current environment the authentication is secured with a password + OTP. When the connection is auto binding and well call bind() again the token is re-used, therefore invalid and the connection closes.

With this change the bind() is only called, when the connection isn't bound already.

Copy link
Member

@consideRatio consideRatio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems very safe to merge, LGTM!

@consideRatio consideRatio merged commit 4e98bfa into jupyterhub:master Jan 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants