solving freedcamp issues and bugs
This commit is contained in:
@@ -466,7 +466,10 @@ class AuthController extends Controller
|
||||
if ($validationMessage) {
|
||||
return response()->json(['status' => 400, 'message' => $validationMessage], 400);
|
||||
}
|
||||
|
||||
if(strlen($request->otp) < 4)
|
||||
{
|
||||
return response()->json(['status' => 401, 'message' => 'Please enter 4 digit OTP']);
|
||||
}
|
||||
$otp = (int) $request->otp;
|
||||
if (Session::has('user-registration')) {
|
||||
// $user = Session::get('user-registration');
|
||||
@@ -915,7 +918,10 @@ class AuthController extends Controller
|
||||
if ($validationMessage) {
|
||||
return response()->json(['status' => 400, 'message' => $validationMessage], 400);
|
||||
}
|
||||
|
||||
if(strlen($request->otp) < 4)
|
||||
{
|
||||
return response()->json(['status' => 401, 'message' => 'Please enter 4 digit OTP']);
|
||||
}
|
||||
$otp = (int) $request->otp;
|
||||
if (Session::has('user-registration')) {
|
||||
$userDetails = Session::get('user-registration');
|
||||
|
||||
Reference in New Issue
Block a user