fix(auth): redirect to learn after sign in (#37114)

This commit is contained in:
mrugesh
2019-10-08 08:15:36 -07:00
committed by Ahmad Abdolsaheb
parent 23a3287d8f
commit 20ca046a2a
3 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@ export const createPassportCallbackAuthenticator = (strategy, config) => (
if (!user || !userInfo) {
return res.redirect('/signin');
}
const redirect = `${homeLocation}/`;
const redirect = `${homeLocation}/learn`;
const { accessToken } = userInfo;
const { provider } = config;