fix(auth): on-boarding, signup and welcome flows (#16882)
* fix(auth): Route should have specific targets * fix(signup): Redirection should be to signup Closes #16945 * feat(redirect): All fallback redirects to signin * fix: send back to originating route * fix(server,secrets): Specify profile field for LinkedIn provider. * fix(profile): Add route to react profile page
This commit is contained in:
committed by
Stuart Taylor
parent
d6f217c1b9
commit
a2076ce1ec
@ -234,7 +234,7 @@ module.exports = function(User) {
|
||||
throw wrapHandledError(
|
||||
new Error('user already exists'),
|
||||
{
|
||||
redirectTo: '/email-signin',
|
||||
redirectTo: '/signin',
|
||||
message: dedent`
|
||||
The ${user.email} email address is already associated with an account.
|
||||
Try signing in with it here instead.
|
||||
|
Reference in New Issue
Block a user