Merge pull request #147 from maysale01/hotfix-default-session-schema-expects-date-not-iso-string
Bugfix: Correctly uses date instead of string for expiresAt when creating a s…
This commit is contained in:
2
users.js
2
users.js
@@ -70,7 +70,7 @@ function handleLogIn(req) {
|
|||||||
'authProvider': 'password'
|
'authProvider': 'password'
|
||||||
},
|
},
|
||||||
restricted: false,
|
restricted: false,
|
||||||
expiresAt: Parse._encode(expiresAt).iso
|
expiresAt: Parse._encode(expiresAt)
|
||||||
};
|
};
|
||||||
|
|
||||||
if (req.info.installationId) {
|
if (req.info.installationId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user