A clear explanation of how authentication works when using a custom database connection would be helpful.
For example, on the Database Connections page, on the Custom Database tab, one is able to write custom code to create authentication functionality with an external database.
The login template has parameters for email and password but nothing for username. It’s unclear to me how this is meant to be implemented when a user has the option to login with a username instead of an email.
Similarly, it’s not clear how this information would be stored based on the Create a new user function template.