@extends('layouts.app') @section('title', __('app.two_factor_auth')) @section('page_title', __('app.two_factor_auth')) @section('content')

{{ __('app.two_factor_auth') }}

@if($user->isTwoFactorEnabled())
{{ __('auth.2fa_enabled') }}

{{ __('app.save_recovery_codes') }}

@csrf
@error('password') {{ $message }} @enderror
@error('code') {{ $message }} @enderror

{{ __('app.regenerate_recovery_codes') }} @else
{{ __('auth.2fa_not_enabled') }}

{{ __('app.two_factor_auth_info') ?? 'Two-factor authentication adds an extra layer of security to your account. Once enabled, you will need to enter a code from your authenticator app in addition to your password when logging in.' }}

{{ __('app.enable_2fa') }} @endif
@endsection