arnaucube
arnaucube/thoughtsPublic Self-hosted repository
token duration to 60m, and readme actualized
nau idoctnef@openmailbox.org
Sat, 16 Jul 2016 22:02:55 +0200
commit

1ba5d059e1ad8865699283824e59e7d1465bd0e3

parent

9337b0a75c536fd2b670ff3bb875199f0a06f2a7

2 files changed, 3 insertions(+), 1 deletions(-)

jump to
M README.md → README.md

@@ -2,5 +2,7 @@ # thoughts

micro blogging platform (server api + client side) fullstack MEAN fullstack + backend: nodejs + express + mongodb + frontend: javascript + angular + bootstrap
M controllers/userController.js → controllers/userController.js

@@ -103,7 +103,7 @@ // if user is found and password is right

// create a token var token = jwt.sign(user, app.get('superSecret'), { //expiresInMinutes: 1440 // expires in 24 hours - expiresIn: '10m' + expiresIn: '60m' }); // return the information including token as JSON