wip
This commit is contained in:
@@ -37,7 +37,7 @@ class ApiAuthController extends Controller
|
||||
|
||||
if (! $user || ! Hash::check($request->password, $user->password)) {
|
||||
throw ValidationException::withMessages([
|
||||
'email' => ['The provided credentials are incorrect.'],
|
||||
'incorrect' => ['The provided credentials are incorrect.'],
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,6 @@ class AuthLoginRequest extends FormRequest
|
||||
/**
|
||||
* Phone number to authenticate
|
||||
*
|
||||
* @var int
|
||||
* @example 65707012
|
||||
*/
|
||||
'phone' => ['required', 'integer', 'between:61000000,71999999'],
|
||||
|
||||
Reference in New Issue
Block a user