diff options
author | Marcus Proest | 2019-03-28 11:19:27 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-28 11:19:27 +0100 |
commit | 7a811b07f634d3f2bb8c3478a020fc430cf70f7d (patch) | |
tree | 5efd7672dd4b78be6d6b05a3c2b6fc42368433b6 /modules/sharemode.inc.php | |
parent | index.php: Add shibboleth debug output for admins (diff) | |
download | bwlp-webadmin-7a811b07f634d3f2bb8c3478a020fc430cf70f7d.tar.gz bwlp-webadmin-7a811b07f634d3f2bb8c3478a020fc430cf70f7d.tar.xz bwlp-webadmin-7a811b07f634d3f2bb8c3478a020fc430cf70f7d.zip |
Make URLs, brand names and list of admins configurable
Diffstat (limited to 'modules/sharemode.inc.php')
-rw-r--r-- | modules/sharemode.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/sharemode.inc.php b/modules/sharemode.inc.php index ed7c4a4..22e1683 100644 --- a/modules/sharemode.inc.php +++ b/modules/sharemode.inc.php @@ -32,13 +32,14 @@ class Page_ShareMode extends Page { if (User::isLocalOnly()) { // Local anyways, no way to de-provision user data - Render::addTemplate('sharemode/testacc'); + Render::addTemplate('sharemode/testacc', array('suite' => CONFIG_SUITE)); } elseif (User::isShibbolethAuth()) { // Shibboleth user if (User::isAnonymous()) { // Did not deploy user data to DB, so show deploy form $data = User::getData(); $data['organization'] = User::getOrganizationName(); + $data['suite'] = CONFIG_SUITE; Render::addTemplate('sharemode/deploy', $data); } else { // User is known in DB, show delete form |