Use email address instead of username for backend admins
5
See https://wintertricks.com/tricks/use-email-address-instead-of-username-for-backend-admins
Simple and to the point. Optimized by the community.
See https://wintertricks.com/tricks/use-email-address-instead-of-username-for-backend-admins
If you want the Plugin's boot function to get fired on the backend login form you will need to add this to your plugin:
public $elevated = true;