parent
ea2c3e34ba
commit
eb3514c075
|
@ -56,8 +56,6 @@ let authCheck = (username, password, res) => {
|
|||
// authentication successful
|
||||
const secret = process.env.NODE_ENV === config.prod.env ? process.env.JWS_SECRET : 'dev-secret';
|
||||
|
||||
console.log(secret)
|
||||
|
||||
deferred.resolve({
|
||||
_id: user._id,
|
||||
username: user.username,
|
||||
|
|
Loading…
Reference in New Issue