Compare commits
2 Commits
f63be7fa5e
...
4f9ec9ebfb
| Author | SHA1 | Date | |
|---|---|---|---|
| 4f9ec9ebfb | |||
|
|
ee65bdfb31 |
@@ -23,9 +23,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
if ($this->app->environment('production')) {
|
||||
URL::forceScheme('https');
|
||||
}
|
||||
URL::forceScheme('https');
|
||||
|
||||
Gate::before(function ($user, $ability) {
|
||||
return $user->hasRole('super_admin') ? true : null;
|
||||
|
||||
Reference in New Issue
Block a user