summaryrefslogtreecommitdiffstats
path: root/apps/sharebymail/lib/Settings/Admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sharebymail/lib/Settings/Admin.php')
-rw-r--r--apps/sharebymail/lib/Settings/Admin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/sharebymail/lib/Settings/Admin.php b/apps/sharebymail/lib/Settings/Admin.php
index b6e7e5d3b4a..93a8d3aafa4 100644
--- a/apps/sharebymail/lib/Settings/Admin.php
+++ b/apps/sharebymail/lib/Settings/Admin.php
@@ -40,7 +40,8 @@ class Admin implements ISettings {
public function getForm() {
$parameters = [
- 'sendPasswordMail' => $this->settingsManager->sendPasswordByMail()
+ 'sendPasswordMail' => $this->settingsManager->sendPasswordByMail(),
+ 'enforcePasswordProtection' => $this->settingsManager->enforcePasswordProtection()
];
return new TemplateResponse('sharebymail', 'settings-admin', $parameters, '');