@extends('admin.layout') @section('title', 'Settings') @section('page-title', 'Settings') @section('page-icon', 'gear') @section('content')
{{-- ── SMTP Settings ── --}}
SMTP / Mail Settings
@if(session('success') && !in_array(request()->fragment, ['otp','backup']))
{{ session('success') }}
@endif
@csrf @method('PUT')
@if($errors->hasAny(['mail_host','mail_port','mail_username','mail_password','mail_encryption','mail_from_address','mail_from_name']))
@foreach($errors->all() as $e)
{{ $e }}
@endforeach
@endif
{{-- ── OTP Emails ── --}}
OTP Recipient Emails
@if(session('success') && request()->fragment === 'otp')
{{ session('success') }}
@endif
@csrf @method('PUT')
OTP will be sent to all emails listed here when a user requests OTP login. Leave empty to send to the user's own email.
@if($errors->has('otp_emails'))
{{ $errors->first('otp_emails') }}
@endif
{{-- ── Database Backup ── --}}
Database Backup
@csrf
@if(session('success') && request()->fragment === 'backup')
{{ session('success') }}
@endif @if($errors->has('backup'))
{{ $errors->first('backup') }}
@endif
File Size Created Actions
Loading...
Backups are stored in storage/app/backups/ as gzipped SQL files.
@endsection @section('scripts') @endsection