Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add password validation for user with unverified email via Parse.User.verifyPassword using master key and option ignoreEmailVerification: true #2076

Prev Previous commit
fix
mtrezza committed Mar 23, 2024
commit e699861eb812c4eeffc233433babb43257d3af84
2 changes: 2 additions & 0 deletions integration/test/ParseUserTest.js
Original file line number Diff line number Diff line change
@@ -1059,6 +1059,8 @@ describe('Parse User', () => {

it('can verify user password for user with unverified email', async () => {
await reconfigureServer({
appName: 'AppName',
publicServerURL: 'http://localhost:1337/',
verifyUserEmails: true,
preventLoginWithUnverifiedEmail: true,
});
2 changes: 0 additions & 2 deletions integration/test/helper.js
Original file line number Diff line number Diff line change
@@ -40,8 +40,6 @@ const twitterAuthData = {
};

const defaultConfiguration = {
appName: 'AppName',
publicServerURL: 'http://localhost:1337/',
databaseURI: 'mongodb://localhost:27017/integration',
appId: 'integration',
masterKey: 'notsosecret',
Loading