summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2016-12-01 18:18:56 +0100
committerSimon Rettberg2016-12-01 18:18:56 +0100
commitde88bc97389690755c133c27634b83574d996c6b (patch)
tree9ef028634a124864e7b699ff77c445a896c26538
parent[sysconfig] AD/LDAP: Fix handling of user@domain.foo; fix SSL portscan; add h... (diff)
downloadslx-admin-de88bc97389690755c133c27634b83574d996c6b.tar.gz
slx-admin-de88bc97389690755c133c27634b83574d996c6b.tar.xz
slx-admin-de88bc97389690755c133c27634b83574d996c6b.zip
[sysconfig] Fix message id in addError calls
-rw-r--r--modules-available/sysconfig/addmodule_adauth.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/sysconfig/addmodule_adauth.inc.php b/modules-available/sysconfig/addmodule_adauth.inc.php
index 5f93e04b..666c36d1 100644
--- a/modules-available/sysconfig/addmodule_adauth.inc.php
+++ b/modules-available/sysconfig/addmodule_adauth.inc.php
@@ -218,7 +218,7 @@ class AdAuth_HomeAttrCheck extends AddModule_Base
$bindpw = Request::post('bindpw');
$ssl = Request::post('ssl', 'off') === 'on';
if ($ssl && !Request::post('fingerprint')) {
- Message::addError('error-read', 'fingerprint');
+ Message::addError('main.error-read', 'fingerprint');
AddModule_Base::setStep('AdAuth_Start'); // Continues with AdAuth_Start for render()
return;
}
@@ -288,7 +288,7 @@ class AdAuth_CheckCredentials extends AddModule_Base
$bindpw = Request::post('bindpw');
$ssl = Request::post('ssl', 'off') === 'on';
if ($ssl && !Request::post('fingerprint')) {
- Message::addError('error-read', 'fingerprint');
+ Message::addError('main.error-read', 'fingerprint');
AddModule_Base::setStep('AdAuth_Start'); // Continues with AdAuth_Start for render()
return;
}