diff --git a/types/auth0-js/auth0-js-tests.ts b/types/auth0-js/auth0-js-tests.ts index 61ab9bd524..af16332b8d 100644 --- a/types/auth0-js/auth0-js-tests.ts +++ b/types/auth0-js/auth0-js-tests.ts @@ -126,8 +126,7 @@ webAuth.renewAuth({ }, (err, authResult) => {}); webAuth.changePassword({connection: 'the_connection', - email: 'me@example.com', - password: '123456' + email: 'me@example.com' }, (err) => {}); webAuth.passwordlessStart({ @@ -250,7 +249,7 @@ authentication.getSSOData(); authentication.getSSOData(true, (err, data) => {}); authentication.dbConnection.signup({connection: 'bla', email: 'blabla', password: '123456'}, () => {}); -authentication.dbConnection.changePassword({connection: 'bla', email: 'blabla', password: '123456'}, () => {}); +authentication.dbConnection.changePassword({connection: 'bla', email: 'blabla'}, () => {}); authentication.passwordless.start({ connection: 'bla', send: 'blabla' }, () => {}); authentication.passwordless.verify({ connection: 'bla', verificationCode: 'asdfasd', email: 'me@example.com' }, () => {}); diff --git a/types/auth0-js/index.d.ts b/types/auth0-js/index.d.ts index 68744e9ff0..43d606c6f3 100644 --- a/types/auth0-js/index.d.ts +++ b/types/auth0-js/index.d.ts @@ -616,7 +616,6 @@ export interface Auth0DelegationToken { export interface ChangePasswordOptions { connection: string; email: string; - password?: string; } export interface PasswordlessStartOptions {