diff --git a/app/Console/Commands/Install.php b/app/Console/Commands/Install.php index bba03abf..9fc98115 100644 --- a/app/Console/Commands/Install.php +++ b/app/Console/Commands/Install.php @@ -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; diff --git a/config/backpack/base.php b/config/backpack/base.php index 2e2c357a..d70879c7 100644 --- a/config/backpack/base.php +++ b/config/backpack/base.php @@ -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)