feat: mobile regist and login

This commit is contained in:
2026-05-22 16:35:07 +02:00
parent 9fe51e8064
commit 055ebbf658
9 changed files with 248 additions and 88 deletions
+2
View File
@@ -15,6 +15,8 @@ use Illuminate\Support\Facades\Route;
Route::prefix('auth')->group(function (): void {
Route::post('register', [AuthController::class, 'register']);
Route::post('login', [AuthController::class, 'login']);
Route::post('mobile/register', [AuthController::class, 'mobileRegister']);
Route::post('mobile/login', [AuthController::class, 'mobileLogin']);
Route::post('forgot-password', [AuthController::class, 'forgotPassword'])
->middleware('throttle:6,1')
->name('password.email');