feat: implement trustlab:magic-link command and controller for AI testing bypass

This commit is contained in:
dyzulk
2026-01-07 09:14:00 +07:00
parent ba9dd9810a
commit a5a700f42c
3 changed files with 107 additions and 0 deletions

View File

@@ -12,6 +12,9 @@ Route::post('/login', [AuthController::class, 'login']);
Route::post('/logout', [AuthController::class, 'logout']);
Route::post('/register', [AuthController::class, 'register']);
use App\Http\Controllers\MagicLinkController;
Route::get('/auth/magic', [MagicLinkController::class, 'login']);
use App\Http\Controllers\Api\PasswordResetController;
Route::post('/forgot-password', [PasswordResetController::class, 'sendResetLinkEmail']);
Route::post('/reset-password', [PasswordResetController::class, 'resetPassword']);