Skip to content

Commit

Permalink
bug(Auth): set expiry on token for auth/login endpoint
Browse files Browse the repository at this point in the history
- refactor jwt signing into separate function
- remove unused imports

[Delivers 159728693]
  • Loading branch information
olusoladavid committed Aug 13, 2018
1 parent d9ec6ea commit bc468e9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/controllers/userController.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { validationResult } from 'express-validator/check';
import bcrypt from 'bcrypt';
import jwt from 'jsonwebtoken';
import { query } from '../db/index';
import queries from '../db/queries';
import signAuthToken from '../utils/signAuthToken';
Expand Down

0 comments on commit bc468e9

Please sign in to comment.