Skip to content

Commit

Permalink
fix: set the tempdirdefault on the setting itself instead of inside a…
Browse files Browse the repository at this point in the history
… lang string
  • Loading branch information
keevan committed Dec 10, 2024
1 parent a63a780 commit 1210404
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion lang/en/auth_saml2.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@
$string['taskmetadatarefresh'] = 'Metadata refresh task';
$string['tempdir'] = 'SimpleSAMLphp temporary directory';
$string['tempdir_help'] = 'A directory where SimpleSAMLphp can save temporary files';
$string['tempdirdefault'] = '/tmp/simplesaml';
$string['test_auth_button_login'] = 'IdP Login';
$string['test_auth_button_logout'] = 'IdP Logout';
$string['test_auth_str'] = 'Test isAuthenticated and login';
Expand Down
4 changes: 2 additions & 2 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,12 @@
1,
$yesno));

// SAMLPHP tempdir
// SAMLPHP tempdir.
$settings->add(new admin_setting_configtext(
'auth_saml2/tempdir',
get_string('tempdir', 'auth_saml2'),
get_string('tempdir_help', 'auth_saml2'),
get_string('tempdirdefault', 'auth_saml2'),
'/tmp/simplesaml',
PARAM_TEXT,
50,
3));
Expand Down

0 comments on commit 1210404

Please sign in to comment.