mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
added country code added to the front end
This commit is contained in:
@@ -36,7 +36,7 @@ class AuthController extends Controller
|
||||
$validator = Validator::make($credentials, $rules);
|
||||
|
||||
if($validator->fails()){
|
||||
return response()->json(['success'=> false, 'message'=> 'Incorrect length of mobile number or the number already exists. The minimum length should be 10.' ], 400);
|
||||
return response()->json(['success'=> false, 'message'=> 'The minimum length should be 10.' ], 400);
|
||||
}
|
||||
|
||||
// create user if not exist
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
</div>
|
||||
<select class="form-element">
|
||||
<option value="">Select your country</option>
|
||||
<option value="1" selected>Malaysia</option>
|
||||
<option value="2">China</option>
|
||||
<option value="1" selected>Malaysia +6</option>
|
||||
<option value="2">China +86</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<div style="position:absolute; top:10px">
|
||||
<a class="fa fa-phone"></a>
|
||||
</div>
|
||||
<input id="mobile" type="text" class="form-element" placeholder="Enter your phone number" required />
|
||||
<input id="mobile" type="tel" class="form-element" placeholder="Enter your phone number" required />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user