|
|
@ -60,12 +60,10 @@ exports.authenticateThirdParty = async function ( |
|
|
|
|
|
|
|
|
// exit early if there is still no user and auto creation is disabled
|
|
|
// exit early if there is still no user and auto creation is disabled
|
|
|
if (!dbUser && requireLocalAccount) { |
|
|
if (!dbUser && requireLocalAccount) { |
|
|
if (requireLocalAccount) { |
|
|
return authError( |
|
|
return authError( |
|
|
done, |
|
|
done, |
|
|
"Email does not yet exist. You must set up your local budibase account first." |
|
|
"Email does not yet exist. You must set up your local budibase account first." |
|
|
) |
|
|
) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// first time creation
|
|
|
// first time creation
|
|
|
|