diff --git a/addon/authenticators/devise.js b/addon/authenticators/devise.js index 139732bb7..d7b098c00 100644 --- a/addon/authenticators/devise.js +++ b/addon/authenticators/devise.js @@ -78,7 +78,10 @@ export default BaseAuthenticator.extend({ @deprecated DeviseAuthenticator/rejectWithResponse:property @public */ - rejectWithXhr: computed.deprecatingAlias('rejectWithResponse'), + rejectWithXhr: computed.deprecatingAlias('rejectWithResponse', { + id: `ember-simple-auth.authenticator.reject-with-xhr`, + until: '2.0.0' + }), /** When authentication fails, the rejection callback is provided with the whole diff --git a/addon/authenticators/oauth2-password-grant.js b/addon/authenticators/oauth2-password-grant.js index 1e8baaf1c..c7eb98904 100644 --- a/addon/authenticators/oauth2-password-grant.js +++ b/addon/authenticators/oauth2-password-grant.js @@ -141,7 +141,10 @@ export default BaseAuthenticator.extend({ @deprecated OAuth2PasswordGrantAuthenticator/rejectWithResponse:property @public */ - rejectWithXhr: computed.deprecatingAlias('rejectWithResponse'), + rejectWithXhr: computed.deprecatingAlias('rejectWithResponse', { + id: `ember-simple-auth.authenticator.reject-with-xhr`, + until: '2.0.0' + }), /** When authentication fails, the rejection callback is provided with the whole