@if (session()->has('alert')) @slot('type', session('alert')['type']) @slot('msg', session('alert')['msg']) @endif
{{__('Settings')}}
@csrf
{{__('API Key')}}
@csrf
@if ($errors->has('current'))
{{ $errors->first('current') }}
@endif
@if ($errors->has('password'))
{{ $errors->first('password') }}
@endif
@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
@csrf
{{__('In Days')}}
@csrf