mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-14 12:02:31 +03:00
Allow book, shelf, settings & profile form input validation to skip image
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user