fix(auth): redirect to learn after sign in (#37114)
This commit is contained in:
committed by
Ahmad Abdolsaheb
parent
23a3287d8f
commit
20ca046a2a
@ -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;
|
||||
|
Reference in New Issue
Block a user