-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ : Operations
Ira Cheng edited this page Jul 19, 2022
·
3 revisions
SECTIONS:
In order to access the admin page, create a new instance of the terminal that is used to run the web application, such that you have one terminal have is used to the run the server and another terminal that is free to use. Within this terminal run
$user = User::where('email', '[email protected]')->first();
The only parameter that needs to be [email protected] to be changed in order to specify the user account
$user->is_admin = true;
$user->save();
After this runs, you can go back onto the webpage and go into the javascript terminal to check if the user has admin permissions