feat: login v2

This commit is contained in:
2025-09-10 17:26:32 +03:30
parent a2e49f985e
commit d9d7c078bb
6 changed files with 187 additions and 5 deletions
+1
View File
@@ -26,6 +26,7 @@
Route::get('package-names/{name}/products', [ProductController::class, 'index']);
Route::prefix('auth')->controller(UserController::class)->group(function () {
Route::post('login-with-approo-v2', [UserController::class, 'loginV2']);
Route::middleware(['throttle:3,1'])->post('login-otp', 'loginOTP');
Route::post('check-otp', 'checkOTP');
Route::post('verify-email-code','verifyEmailCode');