@extends('layouts.master') @section('title', 'Authentication Settings') @section('pagetitle', 'Authentication Settings') @section('styles') @endsection @section('content')
@include('layouts.partials.messages')
@include('super.settings.partials.auth')
@include('super.settings.partials.throttling')
@include('super.settings.partials.two-factor')
{!! Form::open(['route' => 'super.settings.auth.update', 'class' => 'form-settings js-ajax-form', 'id' => 'registration-settings-form']) !!}

@lang('General')

@lang('Allow Registration')

@lang('Should new users be able to sign up?')

@lang('Terms & Conditions')

@lang('The user has to confirm that he agree with terms and conditions in order to create an account.')

{!! Form::checkbox('tos', 1, setting('tos'), ['class' => 'switch', 'id' => 'switch-tos']) !!}

@lang('Email Confirmation')

@lang('Require email confirmation from your newly registered users.')

{!! Form::checkbox('reg_email_confirmation', 1, setting('reg_email_confirmation'), ['class' => 'switch', 'id' => 'switch-reg-email-confirm']) !!}
@csrf
{!! Form::close() !!}
@endsection @section('scripts') @endsection