@extends('member.dashboard') @section('member-content') @if (session('status') === 'password-updated') @endif @if (session('status') === 'two-factor-authentication-enabled') @endif @if (session('status') === 'two-factor-authentication-disabled') @endif @if (session('status') === 'account-deleted') @endif

{{ __('member.securitypage.change_password_title') }}

@csrf @method('PUT')
@error('current_password', 'updatePassword') {{ $message }} @enderror
{{ __('member.password_requirements') }} @error('password', 'updatePassword') {{ $message }} @enderror

{{ __('Multi factor authentication') }}

@if(auth()->user()->two_factor_secret)

Code QR d'authentification

{!! auth()->user()->twoFactorQrCodeSvg() !!}

Codes de récupération

    @foreach(auth()->user()->recoveryCodes() as $code)
  • {{ $code }}
  • @endforeach
@csrf
@else

{{ __('member.securitypage.two_factor_enable_text') }}

@csrf
@endif
@csrf @method('DELETE')
@endsection @section('scripts') @endsection