Help text implied the opposite of what the checkbox did. Closes #4354 (#4357)

This commit is contained in:
bobpaul 2020-09-21 05:32:53 -05:00 committed by GitHub
parent 281f319904
commit e87717c23d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,7 +253,7 @@ trait TOTP
};
$fields["passwordFirst"] = array();
$fields["passwordFirst"]["name"] = gettext("Reverse token order");
$fields["passwordFirst"]["help"] = gettext("Require the password in front of the token instead of behind it.");
$fields["passwordFirst"]["help"] = gettext("Checking this box requires the token after the password. Default requires the token before the password.");
$fields["passwordFirst"]["type"] = "checkbox";
$fields["passwordFirst"]["validate"] = function ($value) {
return array();