Skip to content

Commit

Permalink
completamente del repair
Browse files Browse the repository at this point in the history
fini delle riparazioni in seguito alle richieste del pm
  • Loading branch information
TechRufy committed Jan 2, 2023
1 parent 0e87b5c commit 7bbc44d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions lib/domain/repository/authentication_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,16 @@ class AuthenticationService {
return 'wrong-password';
}
} catch (e) {
print("utente non trovato");
return 'invalid-email';
}
} else {
SPID? u = await RetrieveSPIDByEmail(email);
try {
SPID? u = await RetrieveSPIDByEmail(email);

if (u != null) {
return 'invalid-email';
}
if (u != null) {
return 'invalid-email';
}
} catch (e) {}
}

await auth.signInWithEmailAndPassword(email: email, password: password);
Expand Down

0 comments on commit 7bbc44d

Please sign in to comment.