takeone-youtube-clone/resources/views/auth/2fa-challenge.blade.php
ghassan 0b2e95ea65 Add NAS file manager integration and all pending platform changes
- Installed p7h/nas-file-manager package via private VCS repo
- Published config/nas-file-manager.php with super_admin middleware restriction
- Added NAS env vars to .env.example
- Created admin/nas-storage page with connection info panel and file browser widget
- Added NAS Storage link to admin sidebar (super_admin only)
- Added SuperAdminController@nasStorage method and admin.nas-storage route
- Includes all accumulated branch changes: profile wall, 2FA, audit logs,
  settings panel, country/phone/timezone components, posts, slideshow,
  playlist shares, video downloads/shares, comment likes, notifications,
  social links, and more

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 13:24:32 +03:00

32 lines
1.0 KiB
PHP

@extends('layouts.auth')
@section('title', 'Two-Factor Authentication | ' . config('app.name'))
@section('content')
<div class="auth-card">
<h1 class="auth-title">Two-Factor Authentication</h1>
<p class="auth-subtitle">Enter the 6-digit code from your authenticator app</p>
@if($errors->any())
<div class="auth-error">
<i class="bi bi-exclamation-circle-fill"></i>
<span>{{ $errors->first() }}</span>
</div>
@endif
<form method="POST" action="{{ route('2fa.verify') }}">
@csrf
<div class="form-group">
<label class="form-label">Authentication Code</label>
<input type="text" name="code" class="form-input"
inputmode="numeric" pattern="[0-9]*" maxlength="6"
placeholder="000000" autofocus autocomplete="one-time-code"
style="letter-spacing: 0.3em; font-size: 22px; text-align: center;">
</div>
<button type="submit" class="btn-primary">Verify</button>
</form>
</div>
@endsection