Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Sep 25, 2016
1 parent e997aa7 commit 736ccc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Providers/PackagesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
use Arcanedev\Gravatar\GravatarServiceProvider;
use Arcanedev\LaravelAuth\LaravelAuthServiceProvider;
use Arcanedev\Support\ServiceProvider;
use Illuminate\Support\Arr;

/**
* Class PackagesServiceProvider
Expand Down Expand Up @@ -62,7 +63,7 @@ private function configLaravelAuthPackage()

$config->set('auth.model', $config->get('arcanesoft.auth.users.model', \Arcanesoft\Auth\Models\User::class));
$config->set('auth.table', $config->get('arcanesoft.auth.users.table', 'users'));
$config->set('laravel-auth', array_except($config->get('arcanesoft.auth'), ['route', 'hasher']));
$config->set('laravel-auth', Arr::except($config->get('arcanesoft.auth'), ['route', 'hasher']));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Seeds/Foundation/PermissionTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private function getOtherSeeds()
'name' => 'Dashboard - View the dashboard stats',
'description' => 'Allow to view a auth stats.',
'slug' => 'auth.dashboard.stats',
]
],
];
}
}

0 comments on commit 736ccc8

Please sign in to comment.