ldc-web/routes/web-fo.php
2022-06-13 17:40:44 +02:00

14 lines
653 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/verification_failed', 'auth.verification_failed')->name('verification_failed');
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.otp');