-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Results invalid session when providing an invalid session token #2154
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
Conversation
|
LGTM |
|
let's wait for travis :P |
|
Absolutely! It looks like a good change though. |
|
Need to cleanup the error logging I just realized also |
|
@flovilmart updated the pull request. |
- The tests were failin when run in sequence as we called done() before the JSSDK had a chance to register the session token, therefore having a proper logout call in afterEach
|
@flovilmart updated the pull request. |
1 similar comment
|
@flovilmart updated the pull request. |
|
Stupid test failures... Found the root cause, |
|
@nlutsenko all good there after the test nits? |
fixes #1605
Originally, an invalid session token would be let go as a 'nobody' auth, this PR enforces that when an invalid session token is passed, the response should be an error.