mirror of
https://github.com/elyby/accounts.git
synced 2026-12-02 12:13:25 +05:30
Добавлена проверка, что если приходить nil uuid, то бросается IllegalArgumentException для sessionserver
This commit is contained in:
1 parent
67cbf2a502
commit
d3a2a37f11
5 files changed
+77
-20
No files matched your search
@@ -90,6 +90,7 @@ class JoinForm extends Model {
|
||||
}
|
||||
|
||||
$validator = new UuidValidator();
|
||||
$validator->allowNil = false;
|
||||
$validator->validateAttribute($this, $attribute);
|
||||
|
||||
if ($this->hasErrors($attribute)) {
|
||||
|
||||
Reference in new issue
Block a user