admin login
This commit is contained in:
parent
5c37f6ae31
commit
5ad10a79ee
|
|
@ -94,7 +94,7 @@ class Install extends Command
|
|||
$user_data['first_name'] = $fname;
|
||||
$user_data['last_name'] = $lname;
|
||||
|
||||
$user_data['password'] = Hash::make($password);
|
||||
$user_data['password'] = bcrypt($password);
|
||||
$user_data['account_id'] = $account->id;
|
||||
$user_data['is_parent'] = 1;
|
||||
$user_data['is_admin'] = 1;
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ return [
|
|||
| By default the registration is open only on localhost.
|
||||
*/
|
||||
|
||||
'registration_open' => env('BACKPACK_REGISTRATION_OPEN', env('APP_ENV') === 'local'),
|
||||
'registration_open' => env('BACKPACK_REGISTRATION_OPEN', false),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
@ -67,7 +67,7 @@ return [
|
|||
|
||||
// The prefix used in all base routes (the 'admin' in admin/dashboard)
|
||||
// You can make sure all your URLs use this prefix by using the backpack_url() helper instead of url()
|
||||
'route_prefix' => 'admin',
|
||||
'route_prefix' => 'panel',
|
||||
|
||||
// Set this to false if you would like to use your own AuthController and PasswordController
|
||||
// (you then need to setup your auth routes manually in your routes.php file)
|
||||
|
|
|
|||
Loading…
Reference in New Issue