Skip to content

Support username instead of e-mail address for login form

Daniel Gerhardt requested to merge login-form-username-or-email into master

An e-mail address field is now only shown if ARSnova accounts are enabled and its the only username password authentication provider. Otherwise, a more generic username field is displayed (which also accepts e-mail addresses if necessary).

The template for LoginComponent has been slightly refactored so it requires less conditions.

Edited by Daniel Gerhardt

Merge request reports