SomeGuy
0
Q:

laravel telescope 403 forbidden

/**
 * Register the Telescope gate.
 *
 * This gate determines who can access Telescope in non-local environments.
 *
 * @return void
 */
protected function gate()
{
    Gate::define('viewTelescope', function ($user) {
        return in_array($user->email, [
            // Your users
            '[email protected]',
        ]);
    });
}
0

New to Communities?

Join the community