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: force authenticate on login #1347

Merged
merged 3 commits into from Jun 13, 2019
Merged

fix: force authenticate on login #1347

merged 3 commits into from Jun 13, 2019

Commits on Jun 12, 2019

  1. fix: force authenticate on login

    When a user has a valid token and tries to login with other credentials the endpoint returns 201.
    
    The reason was if another user logged previously and had a valid token stored in the terminal. We must authenticate any user that tries to log in even if the token stored is valid.
    
    We must check credentials again and return a new token, if the credentials are wrong we reject the login. Furthermore, the new token will update the list of groups.
    juanpicado committed Jun 12, 2019
    Copy the full SHA
    e99e41e View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    ae8c141 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2019

  1. Copy the full SHA
    13397cf View commit details
    Browse the repository at this point in the history