diff --git a/app/Modules/ApiAuth/Controllers/ApiAuthController.php b/app/Modules/ApiAuth/Controllers/ApiAuthController.php index 756973b..6ef6a86 100644 --- a/app/Modules/ApiAuth/Controllers/ApiAuthController.php +++ b/app/Modules/ApiAuth/Controllers/ApiAuthController.php @@ -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.'], ]); } diff --git a/app/Modules/ApiAuth/Requests/AuthLoginRequest.php b/app/Modules/ApiAuth/Requests/AuthLoginRequest.php index cad969a..233f904 100644 --- a/app/Modules/ApiAuth/Requests/AuthLoginRequest.php +++ b/app/Modules/ApiAuth/Requests/AuthLoginRequest.php @@ -17,7 +17,6 @@ class AuthLoginRequest extends FormRequest /** * Phone number to authenticate * - * @var int * @example 65707012 */ 'phone' => ['required', 'integer', 'between:61000000,71999999'],