diff options
Diffstat (limited to 'login-service/src/index.js')
| -rw-r--r-- | login-service/src/index.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/login-service/src/index.js b/login-service/src/index.js index 8b8380b..993fa9f 100644 --- a/login-service/src/index.js +++ b/login-service/src/index.js @@ -26,11 +26,9 @@ const authorizeUserNamePassword = (username, password) => { const authorizeGoogle = googleUser => { // TODO - const now = Math.round(new Date().getTime() / 1000); - return { role: 'todo_user', - exp: now + 30 * 60, // 30 minutes + exp: Number(googleUser.exp), }; }; |
