mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-19 06:31:30 +00:00
Allow book, shelf, settings & profile form input validation to skip image
This commit is contained in:
parent
d3737d5a87
commit
57f587a78b
4 changed files with 6 additions and 6 deletions
app/Http/Controllers
|
@ -44,7 +44,7 @@ class SettingController extends Controller
|
|||
$this->preventAccessInDemoMode();
|
||||
$this->checkPermission('settings-manage');
|
||||
$this->validate($request, [
|
||||
'app_logo' => $this->getImageValidationRules(),
|
||||
'app_logo' => 'nullable|' . $this->getImageValidationRules(),
|
||||
]);
|
||||
|
||||
// Cycles through posted settings and update them
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue