@extends('layouts.master') @section('title', 'Account TOTP Settings') @section('sidebar-server') @endsection @section('content')
@foreach (Alert::getMessages() as $type => $messages) @foreach ($messages as $message) @endforeach @endforeach

{{ trans('base.account.totp_header') }} @if (Auth::user()->use_totp === 1){{ trans('strings.enabled') }}@else{{ trans('strings.disabled') }}@endif


@if (Auth::user()->use_totp === 1)
{{ trans('base.account.totp_disable') }}

{{ trans('base.account.totp_disable_help') }}


{{ trans('base.account.totp_token') }} {!! csrf_field() !!} {{ method_field('DELETE') }}
@else

{{ trans('base.account.totp_header') }}

{{ trans('base.account.totp_enable_help') }}

{{ trans('base.account.totp_apps') }}
{!! csrf_field() !!}
@endif
@endsection