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'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.
RainLab.User has a configuration to choose if the user can login with
username
oremail
. The new JWTAuth support this feature, but we need to make it work with the template.It should be dynamic and easy to configure.