Skip to content

Commit

Permalink
Merge pull request #199 from opentripplanner/drop-email-verified
Browse files Browse the repository at this point in the history
fix(actions/user): Remove user fields removed from middleware
  • Loading branch information
landonreed authored Jul 27, 2020
2 parents b3c11a1 + 3b06052 commit f24e82c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/actions/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ function getStateForNewUser (auth0User) {
auth0UserId: auth0User.sub,
email: auth0User.email,
hasConsentedToTerms: false, // User must agree to terms.
isEmailVerified: auth0User.email_verified,
notificationChannel: 'email',
phoneNumber: '',
recentLocations: [],
savedLocations: [],
storeTripHistory: false // User must opt in.
}
Expand Down

0 comments on commit f24e82c

Please sign in to comment.