I’ve got an advanced template Yii2 install and am now at stage of creating /signup for the user.
Would like to use email as the username. What is best way to do it?
Do I:
-
remove ‘username’ field altogether? or
-
do a lot of $username = $email statements everywhere
Pros / cons?