From 8e1f632e31acf121a068228777c86d1c7a620da1 Mon Sep 17 00:00:00 2001 From: Alexander Mays Date: Mon, 1 Feb 2016 16:03:44 -0500 Subject: [PATCH] Correctly uses date instead of string for expiresAt when creating a session Signed-off-by: Alexander Mays --- users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users.js b/users.js index 76deec7c9a..007808543e 100644 --- a/users.js +++ b/users.js @@ -70,7 +70,7 @@ function handleLogIn(req) { 'authProvider': 'password' }, restricted: false, - expiresAt: Parse._encode(expiresAt).iso + expiresAt: Parse._encode(expiresAt) }; if (req.info.installationId) {