@if (session()->has('alert')) @slot('type', session('alert')['type']) @slot('msg', session('alert')['msg']) @endif @if ($errors->any()) @endif
{{__('API Key')}}
@csrf
{{__('API Key')}}
{{__('Change Password')}}
@csrf
@if ($errors->has('current'))
{{ $errors->first('current') }}
@endif
@if ($errors->has('password'))
{{ $errors->first('password') }}
@endif
{{__('Automatically delete message history:')}}
@csrf
{{__('Select Timezone:')}}
@csrf
{{__('Two-Factor Authentication')}}
@csrf @if (auth()->user()->two_factor_enabled) @else @endif
@if (auth()->user()->two_factor_enabled)
{{__('Recovery Codes')}}

{{__('You can use Recovery Codes if you accidentally delete the Google Authenticator app or lose your phone. Use these codes when logging in instead of the app')}}

@foreach(json_decode(auth()->user()->recovery_codes) as $code)
{{ $code }}
@endforeach
@endif