From 92f2ca3229e190cdd4ecb44cf18b0f237f317c29 Mon Sep 17 00:00:00 2001 From: Rustem Date: Mon, 16 Jun 2025 17:44:22 +0500 Subject: [PATCH] master --- app/Http/Controllers/MobileApiController.php | 1 + modules/applications/Logic/Approve.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/MobileApiController.php b/app/Http/Controllers/MobileApiController.php index 23d8ab0..d558044 100644 --- a/app/Http/Controllers/MobileApiController.php +++ b/app/Http/Controllers/MobileApiController.php @@ -524,6 +524,7 @@ class MobileApiController extends Controller { $subcategory = $request->query('subcategory'); + dd($subcategory); $query = UniModel::model('pipi_faq'); if (isset($subcategory)) { $query->where('subcategory', $subcategory); diff --git a/modules/applications/Logic/Approve.php b/modules/applications/Logic/Approve.php index 9b14cac..9688add 100644 --- a/modules/applications/Logic/Approve.php +++ b/modules/applications/Logic/Approve.php @@ -27,7 +27,7 @@ class Approve extends Logic $this->row->user_id = $checkUser->id; $this->row->save(); } else { - $password = Str::random(12); + $password = Str::random(8); $user->forceFill([ 'name' => $this->row->user_name . ' ' . $this->row->surname_name, 'username' => $this->row->user_email,