diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-08-23 14:32:42 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-08-23 14:41:19 +0200 |
commit | ad5093b7a63d8b223c19953dc37cc33c31631be8 (patch) | |
tree | 47ec213b84b097cdee0e87d805c0361acb508bb5 /lib/private/TemplateLayout.php | |
parent | 04a744742a06f6f274f7d61fa5d0ab3c6fa72203 (diff) | |
download | nextcloud-server-ad5093b7a63d8b223c19953dc37cc33c31631be8.tar.gz nextcloud-server-ad5093b7a63d8b223c19953dc37cc33c31631be8.zip |
Show link to simple sign up page
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/TemplateLayout.php')
-rw-r--r-- | lib/private/TemplateLayout.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index fc2e5798e1c..0bd57c4139b 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -132,6 +132,7 @@ class TemplateLayout extends \OC_Template { parent::__construct('core', 'layout.public'); $this->assign( 'appid', $appId ); $this->assign('bodyid', 'body-public'); + $this->assign('showSimpleSignUpLink', $this->config->getSystemValue('simpleSignUpLink.shown', true) !== false); } else { parent::__construct('core', 'layout.base'); |