publish/lit/app/Kernel.php
/**
     * Determine if an authenticated user has access to the litstack application.
     *
     * @param  Authorizable $user
     * @return bool
     */
Determine if an authenticated user has access to the litstack application.
@param  Authorizable $user
@return bool
Determine if an authenticated user has access to the litstack application . @param Authorizable $user @return bool
public function authorize(Authorizable $user): bool
    {
        if (config('app.env') == 'production' && $user->email == 'admin@admin.com') {
            return false;
        }
        return true;
    }
public function authorize ( Authorizable $ user ) : bool { if ( config ( 'app.env' ) == 'production' && $ user -> email == 'admin@admin.com' ) { return false ; } return true ; }
Determine if an authenticated user has access to the litstack application.
Determine if an authenticated user has access to the litstack application .