@extends('settings.layout') @section('card')

{{ trans('settings.app_features_security') }}

{!! csrf_field() !!}

{!! trans('settings.app_public_access_desc') !!}

@if(userCan('users-manage'))

{!! trans('settings.app_public_access_desc_guest') !!}

@endif
@include('form.toggle-switch', [ 'name' => 'setting-app-public', 'value' => setting('app-public'), 'label' => trans('settings.app_public_access_toggle'), ])

{{ trans('settings.app_secure_images_desc') }}

@include('form.toggle-switch', [ 'name' => 'setting-app-secure-images', 'value' => setting('app-secure-images'), 'label' => trans('settings.app_secure_images_toggle'), ])

{!! trans('settings.app_disable_comments_desc') !!}

@include('form.toggle-switch', [ 'name' => 'setting-app-disable-comments', 'value' => setting('app-disable-comments'), 'label' => trans('settings.app_disable_comments_toggle'), ])
@endsection