ldc-web/routes/web-fo.php
2022-09-21 11:17:58 +00:00

13 lines
558 B
PHP

<?php
use App\Http\Controllers\OTPController;
use App\Http\Controllers\Webhooks\GitlabController;
use Illuminate\Support\Facades\Route;
Route::post('/webhooks/gitlab', [GitlabController::class, 'handle']);
Route::view('/login/unauthorized', 'auth.unauthorized')->name('unauthorized');
Route::get('/login/verify', [OTPController::class, 'verify'])->name('auth.verify');
Route::get('/login/send-sms-otp', [OTPController::class, 'sendOtpBySms'])->name('auth.sms-otp');
Route::post('/login/checkOTP', [OTPController::class, 'check'])->name('auth.otpCheck');