Skip to content

Commit

Permalink
Merge pull request #190 from silinternational/feature/remove-layout
Browse files Browse the repository at this point in the history
remove IDPDISCO_LAYOUT config option
  • Loading branch information
briskt authored Apr 4, 2024
2 parents fd3a2e9 + 49a2de1 commit 084119f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 13 deletions.
4 changes: 1 addition & 3 deletions development/idp-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@
// Options: https://github.com/silinternational/simplesamlphp-module-material/blob/develop/README.md#branding
$THEME_COLOR_SCHEME = Env::get('THEME_COLOR_SCHEME', null);

$IDPDISCO_LAYOUT = Env::get('IDPDISCO_LAYOUT', 'links'); // Options: [links,dropdown]

$SECURE_COOKIE = Env::get('SECURE_COOKIE', true);
$SESSION_DURATION = (int)(Env::get('SESSION_DURATION', (60 * 60 * 10))); // 10 hours.
$SESSION_STORE_TYPE = Env::get('SESSION_STORE_TYPE', 'phpsession');
Expand Down Expand Up @@ -1072,7 +1070,7 @@
*
* Options: [links,dropdown]
*/
'idpdisco.layout' => $IDPDISCO_LAYOUT,
'idpdisco.layout' => 'links',


/*************************************
Expand Down
3 changes: 1 addition & 2 deletions development/idp2-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
$SESSION_REMEMBERME_LIFETIME = (int)(Env::get('SESSION_REMEMBERME_LIFETIME', (14 * 86400))); // 14 days
$SECURE_COOKIE = Env::get('SECURE_COOKIE', true);
$THEME_USE = Env::get('THEME_USE', 'default');
$IDPDISCO_LAYOUT = Env::get('IDPDISCO_LAYOUT', 'dropdown'); // Options: [links,dropdown]
$SAML20_IDP_ENABLE = Env::get('SAML20_IDP_ENABLE', true);
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);

Expand Down Expand Up @@ -547,7 +546,7 @@
* Options: [links,dropdown]
*
*/
'idpdisco.layout' => $IDPDISCO_LAYOUT,
'idpdisco.layout' => 'links',

/*
* Whether simpleSAMLphp should sign the response or the assertion in SAML 1.1 authentication
Expand Down
3 changes: 1 addition & 2 deletions development/sp-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
$SESSION_REMEMBERME_LIFETIME = (int)(Env::get('SESSION_REMEMBERME_LIFETIME', (14 * 86400))); // 14 days
$SECURE_COOKIE = Env::get('SECURE_COOKIE', true);
$THEME_USE = Env::get('THEME_USE', 'default');
$IDPDISCO_LAYOUT = Env::get('IDPDISCO_LAYOUT', 'dropdown'); // Options: [links,dropdown]
$SAML20_IDP_ENABLE = Env::get('SAML20_IDP_ENABLE', true);
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);

Expand Down Expand Up @@ -517,7 +516,7 @@
* Options: [links,dropdown]
*
*/
'idpdisco.layout' => $IDPDISCO_LAYOUT,
'idpdisco.layout' => 'links',

/*
* Whether simpleSAMLphp should sign the response or the assertion in SAML 1.1 authentication
Expand Down
3 changes: 1 addition & 2 deletions development/sp2-local/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
$SESSION_REMEMBERME_LIFETIME = (int)(Env::get('SESSION_REMEMBERME_LIFETIME', (14 * 86400))); // 14 days
$SECURE_COOKIE = Env::get('SECURE_COOKIE', true);
$THEME_USE = Env::get('THEME_USE', 'default');
$IDPDISCO_LAYOUT = Env::get('IDPDISCO_LAYOUT', 'dropdown'); // Options: [links,dropdown]
$SAML20_IDP_ENABLE = Env::get('SAML20_IDP_ENABLE', true);
$GOOGLE_ENABLE = Env::get('GOOGLE_ENABLE', false);

Expand Down Expand Up @@ -517,7 +516,7 @@
* Options: [links,dropdown]
*
*/
'idpdisco.layout' => $IDPDISCO_LAYOUT,
'idpdisco.layout' => 'links',

/*
* Whether simpleSAMLphp should sign the response or the assertion in SAML 1.1 authentication
Expand Down
4 changes: 1 addition & 3 deletions dockerbuild/ssp-overrides/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@
// Options: https://github.com/silinternational/simplesamlphp-module-material/blob/develop/README.md#branding
$THEME_COLOR_SCHEME = Env::get('THEME_COLOR_SCHEME', null);

$IDPDISCO_LAYOUT = Env::get('IDPDISCO_LAYOUT', 'links'); // Options: [links,dropdown]

$SECURE_COOKIE = Env::get('SECURE_COOKIE', true);
$SESSION_DURATION = (int)(Env::get('SESSION_DURATION', (60 * 60 * 10))); // 10 hours.
$SESSION_STORE_TYPE = Env::get('SESSION_STORE_TYPE', 'phpsession');
Expand Down Expand Up @@ -1072,7 +1070,7 @@
*
* Options: [links,dropdown]
*/
'idpdisco.layout' => $IDPDISCO_LAYOUT,
'idpdisco.layout' => 'links',


/*************************************
Expand Down
1 change: 0 additions & 1 deletion local.env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ COMPOSER_AUTH={"github-oauth":{"github.com":"token-here"}}
COMPOSER_CACHE_DIR=/composer
GOOGLE_ENABLE=
HUB_MODE=false
IDPDISCO_LAYOUT=
ENABLE_DEBUG=


Expand Down

0 comments on commit 084119f

Please sign in to comment.