diff --git a/README.md b/README.md index e2d4df31626cc730bbf2d157f8d117560f8115ee..4164b43ba527e98d5e1fedbb9c7e463610928cf2 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Of course, both authsources must be defined in authsources.php file. When the co ## Login page configuration -The second part of the configuration is setting up the login page itself. While doing that, it's highly recommended to follow our suggestions (***TODO link***). To configure the login page, you need to create a new configuration file `wayf.php`. In this module, there is an example configuration available at `config-templates/wayf.php`. In configuration file, there are following options available: +The second part of the configuration is setting up the login page itself. While doing that, it's highly recommended to follow our suggestions (***TODO link***). To configure the login page, you need to create a new configuration file `module_campusmultiauth.php`. In this module, there is an example configuration available at `config-templates/module_campusmultiauth.php`. In configuration file, there are following options available: `css_framework` - if set to `muni_jvs`, the login page displays in MUNI framework. Otherwise, Bootstrap 5 is used. diff --git a/config-templates/wayf.php b/config-templates/module_campusmultiauth.php similarity index 100% rename from config-templates/wayf.php rename to config-templates/module_campusmultiauth.php diff --git a/www/idpSearch.php b/www/idpSearch.php index 3de6b709c42e6f860794166cd97f87bd787b4014..09da5192dc0e5cb0fc1b22c4a0b8816368bac8d0 100644 --- a/www/idpSearch.php +++ b/www/idpSearch.php @@ -9,7 +9,7 @@ header('Content-type: application/json'); $index = $_GET['index']; -$config = $wayfConfig = Configuration::getConfig('wayf.php')->toArray(); +$config = Configuration::getConfig('module_campusmultiauth.php')->toArray(); $searchBox = $config['components'][$index]; $metadataStorageHandler = MetaDataStorageHandler::getMetadataHandler(); diff --git a/www/selectsource.php b/www/selectsource.php index 87e5098bf128bdcc351e47af5368e9f5fc0593f6..bd272d81bbca8fb639df9b7e2f9c88f3042cdbd6 100644 --- a/www/selectsource.php +++ b/www/selectsource.php @@ -68,7 +68,7 @@ if (array_key_exists('source', $_POST)) { } } -$wayfConfig = Configuration::getConfig('wayf.php')->toArray(); +$wayfConfig = Configuration::getConfig('module_campusmultiauth.php')->toArray(); if (!empty($wayfConfig['footer']['format']) && $wayfConfig['footer']['format'] === 'markdown') { $converter = new CommonMarkConverter();