mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-29 09:24:07 +00:00
register form step 1
This commit is contained in:
@@ -39,7 +39,7 @@ abstract class AbstractValidation
|
||||
$validator = $this->validator::make($this->data($object), $this->rules(), $this->messages());
|
||||
|
||||
if($validator->fails()) {
|
||||
throw new RequestValidationException($validator->messages());
|
||||
throw new RequestValidationException($validator->messages()->first());
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user