@extends('layouts.auth') @section('title', 'Platform Owner · Two-factor') @section('heading', 'School ERP · Platform Owner') @section('content') @if ($setup)

Set up two-factor authentication

Platform logins need a code from an authenticator app (Google Authenticator, Microsoft Authenticator, Authy). Scan this QR code, then type the 6-digit code it shows.

{!! $qr !!}

Or type this key: {{ trim(chunk_split($secret, 4, ' ')) }}

@else

Two-factor code

Type the 6-digit code from your authenticator app, or one of your recovery codes (xxxxx-xxxxx).

@endif @include('partials.flash')
@csrf
Start again
@endsection