Create an Admin

Since v3.0, we've added the rescue utility to add an admin user via the command line. This can be helpful if you've managed to lock yourself out of your installation (for example if you can't remember your password and never set the system up to send email.)

/path/to/php artisan snipeit:create-admin --first_name=<first name> --last_name=<last_name>  --email=<email>  --username=<username>  --password=<password>

So for example, if you wanted to add a new admin named Janie Awesome, you would run:

php artisan snipeit:create-admin --first_name=Janie --last_name=Awesome  [email protected]  --username=jawesome  --password=password