mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-19 22:51:30 +00:00
Remove redundant getImageValidationRules method
This commit is contained in:
parent
5cd56f63ff
commit
d3737d5a87
5 changed files with 4 additions and 12 deletions
app/Http/Controllers
|
@ -155,7 +155,7 @@ class UserController extends Controller
|
|||
'password' => 'min:6|required_with:password_confirm',
|
||||
'password-confirm' => 'same:password|required_with:password',
|
||||
'setting' => 'array',
|
||||
'profile_image' => $this->imageRepo->getImageValidationRules(),
|
||||
'profile_image' => $this->getImageValidationRules(),
|
||||
]);
|
||||
|
||||
$user = $this->userRepo->getById($id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue