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

Fix logoff, when using token auth #54

Closed
wants to merge 1 commit into from

Conversation

JargeZ
Copy link

@JargeZ JargeZ commented Sep 16, 2020

Hello

This is a small fix for a bug due to which authorization by token was one-time.
When we use settings={'token': 'sometoken' ... and the /api/v1/logout method is called in the code, then this token is removed from the server and is no longer valid.

@codecov
Copy link

codecov bot commented Sep 16, 2020

Codecov Report

Merging #54 into master will decrease coverage by 0.17%.
The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
- Coverage   86.71%   86.54%   -0.18%     
==========================================
  Files          24       24              
  Lines         429      431       +2     
==========================================
+ Hits          372      373       +1     
- Misses         57       58       +1     
Impacted Files Coverage Δ
rocketchat/calls/base.py 80.00% <50.00%> (-1.04%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 54171ac...99234c3. Read the comment docs.

@pipozzz
Copy link
Member

pipozzz commented Sep 23, 2020

I think we can close this MR I already fix this in #55

@pipozzz pipozzz closed this Sep 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.

None yet

3 participants