@extends('layouts.app') @section('title', 'OTP Statistics') @section('nav-items')
| User | OTP Code | Status | Failed Attempts | Created | Expires | Verified |
|---|---|---|---|---|---|---|
| {{ $otp->otp_code }} | @if($otp->isVerified()) Verified @elseif($otp->isExpired()) Expired @elseif($otp->maxFailedAttemptsReached()) Locked @else Pending @endif | @if($otp->failed_attempts > 0) {{ $otp->failed_attempts }} @else 0 @endif |
{{ $otp->created_at->format('M d, Y') }}
{{ $otp->created_at->format('g:i A') }}
|
{{ $otp->expires_at->format('M d, Y') }}
{{ $otp->expires_at->format('g:i A') }}
@if($otp->expires_at->isPast())
(Expired)
@endif
|
@if($otp->verified_at)
{{ $otp->verified_at->format('M d, Y') }}
{{ $otp->verified_at->format('g:i A') }}
@else
—
@endif
|
|
|
No OTP codes generated yet |
||||||