someshit going on

This commit is contained in:
2025-09-22 18:31:00 +05:00
parent a04c5b1f00
commit 4911a37cfd
9 changed files with 194 additions and 0 deletions

View File

@@ -1,5 +1,13 @@
<?php
use App\Http\Controllers\Auth\OTPVerificationController;
use App\Http\Middleware\RedirectIfPhoneNumberIsVerified;
use Illuminate\Support\Facades\Route;
Route::redirect('/', '/panel');
Route::middleware('auth', RedirectIfPhoneNumberIsVerified::class)->group(function () {
Route::get('otp/verify', [OTPVerificationController::class, 'index'])->name('otp.verify');
Route::post('otp/verify', [OTPVerificationController::class, 'store'])->name('otp.verify.store');
});