Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set the tempdirdefault on the setting itself instead of inside a lang string #851

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading