{{-- Two-factor sign-in set-up (authenticator app) --}} @extends('layouts.app') @section('title', 'Two-factor sign-in - ICMIS') @section('content')

Two-factor sign-in

@if($user->two_factor_enabled)

On since {{ optional($user->two_factor_confirmed_at)->format('d M Y') }}. Each time you sign in you will be asked for the 6-digit code from your authenticator app.

@csrf
@else
  1. Install an authenticator app on your phone (Google Authenticator, Microsoft Authenticator or similar).
  2. Scan this QR code with the app — or type the key below.
  3. Enter the 6-digit code the app shows.

Key: {{ trim(chunk_split($secret, 4, ' ')) }}

@csrf
@endif
@if(!$user->two_factor_enabled) @endif @endsection