Skip to content

Commit

Permalink
verification
Browse files Browse the repository at this point in the history
  • Loading branch information
econnerty committed Apr 24, 2023
1 parent c3fc7c9 commit e620940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RegistrationScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function RegistrationScreen({navigation}) {
await Parse.User.logIn(auth().currentUser.email,'password').then(() =>{ //This seems crazy, but it's fine, cuz the password doesn't work unless they click the email.
emailVerified = true;
}).catch((error) => {console.log(error)})
if (true) {
if (emailVerified) {
Parse.User.logOut();
if (nameValid && firstName.trim() && lastName.trim() && major && gradDate && bio && bioLengthValid && image) {
await uploadPic();
Expand Down

0 comments on commit e620940

Please sign in to comment.