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

#159728693 Fix non-expiring login auth token #34

Merged
merged 2 commits into from
Aug 14, 2018

Conversation

olusoladavid
Copy link
Owner

What does this PR do?

Adds an expiry time to the authentication token sent on successful user login

Description of Task to be completed

  • Refactor token signing into a single function for a consistent interface

How should this be manually tested?

  • Review code changes in server/utils/signAuthToken.js

What are the relevant pivotal tracker stories?

#159728693

- refactor jwt signing into separate function
- remove unused imports

[Delivers 159728693]
@olusoladavid olusoladavid merged commit 14d25fb into develop Aug 14, 2018
@coveralls
Copy link

Pull Request Test Coverage Report for Build 118

  • 8 of 8 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.6%) to 82.479%

Totals Coverage Status
Change from base Build 112: 1.6%
Covered Lines: 150
Relevant Lines: 174

💛 - Coveralls

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

2 participants