Return admin-approval messages when Jibit profile or card verify is off.
Profile and bank-card save paths now succeed with clear pending-admin copy instead of a validation error when automatic Jibit checks are disabled. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -236,8 +236,10 @@ class CustomerController extends Controller
|
||||
|
||||
} elseif (!$customer->is_legal && !$cfg->isRegisterJibitVerifyEnabled()) {
|
||||
return response()->json([
|
||||
'message' => 'اطلاعات شما با موفقیت ثبت شد. لطفاً برای تکمیل احراز هویت با پشتیبانی یا مدیر سامانه تماس بگیرید.',
|
||||
], 422);
|
||||
'ok' => true,
|
||||
'pending_admin' => true,
|
||||
'message' => 'اطلاعات کاربری شما ثبت شد و پس از تایید ادمین فعال سازی خواهد شد',
|
||||
]);
|
||||
}
|
||||
return response()->json(true);
|
||||
} catch (\Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user