We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Patrick, could you create a helper function in the tipoff/authorization package that simplifies this?
https://github.com/tipoff/demo/blob/649858eff8389720d6277caf7f7a836fc52ed1d0/database/migrations/2021_03_29_100000_add_admin_user.php#L11-L20
The text was updated successfully, but these errors were encountered:
Maybe something like:
createAdmin() to be used in Laravel applications like:
createAdmin([ 'first_name' => 'admin', 'last_name' => 'admin', 'email' => 'admin@example.com', ]);
It then defaults a password of 'password' for the user and assigns admin rights.
Sorry, something went wrong.
pdbreen
No branches or pull requests
Patrick, could you create a helper function in the tipoff/authorization package that simplifies this?
https://github.com/tipoff/demo/blob/649858eff8389720d6277caf7f7a836fc52ed1d0/database/migrations/2021_03_29_100000_add_admin_user.php#L11-L20
The text was updated successfully, but these errors were encountered: