How to create first user (Admin)?
I have backend, users can create accounts, each account has role - admin or user. I want the first account to be Admin. Should I create it during database seeding or every time user register their account I check if it's first user and give him admin role? Or is there a better way?
Aslo accounts must be verified to log in to it and only admin users can verify other user account.
Aslo accounts must be verified to log in to it and only admin users can verify other user account.