Skip to content

Commit

Permalink
fix: removed check for updates [#1020]
Browse files Browse the repository at this point in the history
  • Loading branch information
isha-dubey committed Aug 21, 2024
1 parent 83490d9 commit 060f19b
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/pages/Auth/entry-point/EntryPoint.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,8 @@
entryLoader = true;
const response = await handleEntry(entryCredentials);
if (response.isSuccessful) {
if (response?.data?.registeredWith === 'google') {
// Registered with google auth
isEntry = true;
redirectRules.title = `Redirecting you to sign in with google account...`;
redirectRules.description = `${entryCredentials?.email} is already registered using google account.`;
redirectRules.loadingMessage = `Please wait while we are redirecting you to your google account....`;
setTimeout(() => {
navigate(constants.SPARROW_OAUTH);
}, 1000);
} else if (response?.data?.registeredWith === 'email') {

if (response?.data?.registeredWith === 'email' || response?.data?.registeredWith === 'google') {
// registered with email
isEntry = true;
redirectRules.title = `Redirecting to your account...`;
Expand Down

0 comments on commit 060f19b

Please sign in to comment.