...
|
...
|
@@ -66,7 +66,7 @@ module.exports = () => { |
|
|
return Promise.reject(new Error(result.message));
|
|
|
}
|
|
|
|
|
|
return LoginService.syncUserSession(result.data.uid, req, res);
|
|
|
return LoginService.syncUserSession(result.data.uid, req, res, result.data.session_key);
|
|
|
}).then(()=> {
|
|
|
return res.redirect(req.originalUrl);
|
|
|
}).catch(next);
|
...
|
...
|
|