@extends('layouts.member') @section('title', 'Two-factor authentication') @section('content')

Two-factor authentication

@if($mandatory && !$enabled)

Advertiser accounts must have two-factor authentication on.

@endif @if($recoveryCodes)

Save your recovery codes

Each code works once if you lose your phone. They are shown only now.

@endif @if($enabled)

Two-factor authentication is on. {{ $codesRemaining }} recovery code(s) left.

@csrf @unless($mandatory)
@csrf @endunless
@elseif($secret)

Scan this code with an authenticator app (Google Authenticator, Authy, Microsoft Authenticator), then enter the 6-digit code it shows.

Can't scan? Enter this key: {{ $secret }}

@csrf
@else

Two-factor authentication adds a code from your phone to every sign-in.

@csrf
@endif
@endsection