Skip to content
This repository was archived by the owner on Jun 25, 2024. It is now read-only.

Commit d47087d

Browse files
author
Baggerone
authored
Merge pull request #109 from silinternational/develop
Release 7.6.0 PHP8 Upgrade
2 parents 7a4528e + 8c935ac commit d47087d

File tree

7 files changed

+7
-11
lines changed

7 files changed

+7
-11
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ node_modules/
44
composer.lock
55
nbproject/
66
.vagrant/
7-
local.env
7+
*local.env

.whitesource

Lines changed: 0 additions & 8 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ _Note: This nag only works once since choosing later will simply set the nag da
173173
1. Goto [SP 1](http://ssp-sp1.local:8082/module.php/core/authenticate.php?as=hub-discovery)
174174
1. Click **idp4** (third one)
175175
1. Login as a "totp" user: `username=`**has_totp** `password=`**a**
176+
1. You should see the form to enter a totp code.
176177
1. Set up an app using this secret, `JVRXKYTMPBEVKXLS`
177178
1. Enter code from app to verify
178179
1. Click **Logout**

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"php": ">=7.0",
1515
"ext-json": "*",
1616
"simplesamlphp/composer-module-installer": "^1.1.5",
17-
"simplesamlphp/simplesamlphp": "~1.18.6",
17+
"simplesamlphp/simplesamlphp": "~1.18.6 || ~1.19.0",
1818
"silinternational/ssp-utilities": "^1.0"
1919
},
2020
"require-dev": {

development/idp4/authsources.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@
77
'core:AdminPassword',
88
],
99
'silauth' => ConfigManager::getSspConfig(),
10+
// Test user credentials are in the database migration m991231_235959_insert_mfa_test_users.php
1011
];

development/idp4/saml20-idp-hosted.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
'authproc' => [
1010
10 => [
1111
'class' => 'mfa:Mfa',
12+
'idpDomainName' => 'ssp-idp4.local',
1213
'employeeIdAttr' => 'employeeNumber',
1314
'idBrokerAccessToken' => Env::get('ID_BROKER_ACCESS_TOKEN'),
1415
'idBrokerAssertValidIp' => Env::get('ID_BROKER_ASSERT_VALID_IP'),

themes/material/mfa/low-on-backup-codes.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@
2727
</h1>
2828
</div>
2929

30+
3031
<div class="mdl-card__title center" >
3132
<p class="mdl-card__subtitle-text">
32-
<?= $this->t('{material:mfa:running_out_info}', ['{numBackupCodesRemaining}' => (int)$this->data['numBackupCodesRemaining']]) ?>
33+
<?= $this->t('{material:mfa:running_out_info}', ['{numBackupCodesRemaining}' => (string)(int)$this->data['numBackupCodesRemaining']]) ?>
3334
</p>
3435
</div>
3536

0 commit comments

Comments
 (0)