refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
17
routes/oauth.php
Normal file
17
routes/oauth.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
Route::middleware('oauth')->group(function () {
|
||||
Route::get('/login', 'Auth\\OAuthController@index');
|
||||
Route::post('/login', 'Auth\\OAuthController@login')->name('oauth.login');
|
||||
|
||||
Route::middleware(['auth', 'mfa'])->group(function () {
|
||||
Route::post('/verified', 'Auth\\OAuthController@verify')->name('oauth.verify');
|
||||
Route::get('/verified', 'Auth\\OAuthController@verify');
|
||||
});
|
||||
|
||||
Route::middleware(['auth', '2fa'])->group(function () {
|
||||
Route::post('/validate2fa', '\\App\\Http\\Controllers\\Auth\\Validate2faController@index')->name('oauth.validate2fa');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user