-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/remove-default-theme' into feature/twig-prep
- Loading branch information
Showing
18 changed files
with
166 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,20 @@ | |
'mfa' => [ | ||
'prompt' => 'no', | ||
], | ||
'schacExpiryDate' => [ | ||
gmdate('YmdHis\Z', strtotime('+3 days')), // Soon but not tomorrow | ||
], | ||
], | ||
|
||
// expirychecker test user whose password expires in one day | ||
'next_day:a' => [ | ||
'eduPersonPrincipalName' => ['[email protected]'], | ||
'eduPersonTargetID' => ['22888888-2222-2222-2222-222222222222'], | ||
'sn' => ['Day'], | ||
'givenName' => ['Next'], | ||
'mail' => ['[email protected]'], | ||
'employeeNumber' => ['22888'], | ||
'cn' => ['NEXT_DAY'], | ||
'schacExpiryDate' => [ | ||
gmdate('YmdHis\Z', strtotime('+1 day')), // Very soon | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Try to run database migrations | ||
cd /data/vendor/simplesamlphp/simplesamlphp/modules/silauth | ||
chmod a+x ./lib/Auth/Source/yii | ||
# echo script commands to stdout | ||
set -x | ||
|
||
# exit if any command fails | ||
set -e | ||
|
||
output=$(./lib/Auth/Source/yii migrate --interactive=0 2>&1) | ||
# Try to run database migrations | ||
cd /data/vendor/simplesamlphp/simplesamlphp/modules/silauth/lib/Auth/Source | ||
chmod a+x ./yii | ||
|
||
# If they failed, exit. | ||
rc=$?; | ||
if [[ $rc != 0 ]]; then | ||
logger --priority user.err --stderr "Migrations failed with status ${rc} and output: ${output}" | ||
exit $rc; | ||
fi | ||
./yii migrate --interactive=0 | ||
|
||
cd /data | ||
./run.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.