laravel telescope 403 forbidden

Solutions on MaxInterview for laravel telescope 403 forbidden by the best coders in the world

showing results for - "laravel telescope 403 forbidden"
Andrea
20 Sep 2017
1/**
2 * Register the Telescope gate.
3 *
4 * This gate determines who can access Telescope in non-local environments.
5 *
6 * @return void
7 */
8protected function gate()
9{
10    Gate::define('viewTelescope', function ($user) {
11        return in_array($user->email, [
12            // Your users
13            'user@yourapp.tld',
14        ]);
15    });
16}