[L6] Update even more areas of codebase using custom model validation logic
This commit is contained in:
parent
c586157dc4
commit
0d6cf54314
23 changed files with 41 additions and 33 deletions
|
@ -40,7 +40,7 @@ class AccountDataFormRequest extends FrontendUserFormRequest
|
|||
*/
|
||||
public function rules()
|
||||
{
|
||||
$modelRules = User::getUpdateRulesForId($this->user()->id);
|
||||
$modelRules = User::getRulesForUpdate($this->user());
|
||||
|
||||
switch ($this->input('do_action')) {
|
||||
case 'email':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue