rluders / oc-theme-angular

The skeleton theme for October's Angular applications
http://octobercms.com/theme/rluders-angular2
MIT License
11 stars 2 forks source link

Login using username or email #2

Open rluders opened 6 years ago

rluders commented 6 years ago

RainLab.User has a configuration to choose if the user can login with username or email. The new JWTAuth support this feature, but we need to make it work with the template.

It should be dynamic and easy to configure.

rluders commented 4 years ago

It's already working on develop branch, with the upgrade to Angular 8. The field will always be login 'cause the JWTAuth can handle username or emails depending on RainLab.User configuration.