Please execute the following commands from the command line inside the NMS Prime directory:
Code Block |
---|
language | bash |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Make an existing User Admin |
---|
| php artisan auth:nms
php artisan auth:admin [ your login name ]
php artisan tinker |
This will open a new command line (Psy Shell), enter there Code Block |
---|
language | php |
---|
theme | RDark |
---|
firstline | 1 |
---|
title | Make an existing User Admin |
---|
| $user = App\User::where('login_name','[your login name]')->first();
$user->password = Hash::make('[your new password]');
$user->save();
quit |
close the shell with Ctrl + c |