diff --git a/lib/Settings/Admin.php b/lib/Settings/Admin.php index 8bb9214c9..9f89c3b86 100644 --- a/lib/Settings/Admin.php +++ b/lib/Settings/Admin.php @@ -121,12 +121,12 @@ public function getForm(): TemplateResponse { 'displayName_mapping' => [ 'text' => $this->l10n->t('Attribute to map the displayname to.'), 'type' => 'line', - 'required' => true, + 'required' => false, ], 'email_mapping' => [ 'text' => $this->l10n->t('Attribute to map the email address to.'), 'type' => 'line', - 'required' => true, + 'required' => false, ], 'quota_mapping' => [ 'text' => $this->l10n->t('Attribute to map the quota to.'), diff --git a/tests/unit/Settings/AdminTest.php b/tests/unit/Settings/AdminTest.php index f2fbf1050..3cd153f16 100644 --- a/tests/unit/Settings/AdminTest.php +++ b/tests/unit/Settings/AdminTest.php @@ -134,12 +134,12 @@ public function formDataProvider(): array { 'displayName_mapping' => [ 'text' => $this->l10n->t('Attribute to map the displayname to.'), 'type' => 'line', - 'required' => true, + 'required' => false, ], 'email_mapping' => [ 'text' => $this->l10n->t('Attribute to map the email address to.'), 'type' => 'line', - 'required' => true, + 'required' => false, ], 'quota_mapping' => [ 'text' => $this->l10n->t('Attribute to map the quota to.'),