How to change identificationAttributeName?
Closed this issue · 1 comments
matthewvalimaki commented
I want to change username
to email
but do not know how to do it. Doing the following has no effect:
export default JWTAuthenticator.extend({
identificationAttributeName: 'email',
});
myartsev commented
Thank you for reporting, it's a bug.
Should work now, you were doing it correctly.
export default JWTAuthenticator.extend({
identificationAttributeName: 'email',
passwordAttributeName: 'pass'
});