0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-06 18:42:40 +00:00

Update Version number & cleanup

This commit is contained in:
Trevor Buckner
2020-10-07 15:02:42 -04:00
parent ed1c589e2d
commit 0afb503860
10 changed files with 38 additions and 61 deletions

View File

@@ -21,9 +21,6 @@ const generateAccessToken = (account)=>{
delete payload.password;
delete payload._id;
console.log('THE PAYLOAD');
console.log(payload);
const secret = config.get('authentication_token_secret');
const token = jwt.encode(payload, secret);