From a8738a5e5351aec25949aed30ee563d276a1ad2f Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 7 Dec 2019 12:49:45 +0100 Subject: [PATCH] typos --- lam/help/help.inc | 2 +- lam/lib/2factor.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/help/help.inc b/lam/help/help.inc index b8f44924..f3cc3c99 100644 --- a/lam/help/help.inc +++ b/lam/help/help.inc @@ -330,7 +330,7 @@ $helpArray = array ( "528" => array ("Headline" => _('User name attribute'), "Text" => _('The attribute (e.g. "uid") that contains the user name for the 2-factor service.')), "529" => array ("Headline" => _('Domain'), - "Text" => _('Please enter the webauthn domain. This is the public domain of the webserver (e.g. "example.com"). Do not include protocol or port.')), + "Text" => _('Please enter the WebAuthn domain. This is the public domain of the webserver (e.g. "example.com"). Do not include protocol or port.')), "550" => array ("Headline" => _("From address"), "Text" => _("This email address will be set as sender address of all password mails. If empty the system default (php.ini) will be used.")), "551" => array ("Headline" => _("Subject"), diff --git a/lam/lib/2factor.inc b/lam/lib/2factor.inc index 038e35df..3640ffed 100644 --- a/lam/lib/2factor.inc +++ b/lam/lib/2factor.inc @@ -545,7 +545,7 @@ class WebauthnProvider extends BaseProvider { $loginButton = new htmlButton('login_webauthn', _('Login')); $loginButton->setCSSClasses(array('fullwidth hidden')); $row->add($loginButton, 12); - $errorMessage = new htmlStatusMessage('ERROR', '', _('This service requires a browser with webauthn support.')); + $errorMessage = new htmlStatusMessage('ERROR', '', _('This service requires a browser with "WebAuthn" support.')); $row->add(new htmlDiv(null, $errorMessage, array('hidden webauthn-error')), 12); $row->add(new htmlJavaScript('window.lam.webauthn.start(\'' . $pathPrefix . '\');'), 0); }