Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void onAuthStateChanged(@NonNull FirebaseAuth firebaseAuth) {
FirebaseUser user = firebaseAuth.getCurrentUser();
if (user != null) {
// User is signed in
onSignedInInitialize(user.getDisplayName());

} else {
// User is signed out
onSignedOutCleanup();
Expand All @@ -119,14 +119,6 @@ public void onAuthStateChanged(@NonNull FirebaseAuth firebaseAuth) {
};
}

private void onSignedInInitialize(String username) {
mFirebaseUser = FirebaseAuth.getInstance().getCurrentUser();

//TODO setup firebase email verification check


mFirebaseUser.sendEmailVerification();
}

private void onSignedOutCleanup() {
}
Expand Down