mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-20 07:13:45 +02:00
[L6] Update even more areas of codebase using custom model validation logic
This commit is contained in:
@@ -16,6 +16,6 @@ class UpdateUserRequest extends StoreUserRequest
|
||||
{
|
||||
$userId = $this->getModel(User::class)->id;
|
||||
|
||||
return parent::rules(User::getUpdateRulesForId($userId));
|
||||
return parent::rules(User::getRulesForUpdate($userId));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user