From a8a382ecc356fb50d24a757fa547f11ea8b6eaa5 Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Thu, 24 Oct 2024 01:43:33 +0300 Subject: [PATCH] An attempt to address TOTP naming confusion --- webmin/lang/en | 1 + webmin/twofactor-funcs-lib.pl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/webmin/lang/en b/webmin/lang/en index 3d59df924..5c820acfa 100644 --- a/webmin/lang/en +++ b/webmin/lang/en @@ -1170,6 +1170,7 @@ twofactor_title=Two-Factor Authentication twofactor_header=Two-factor authentication options twofactor_provider=Authentication provider twofactor_none=None +twofactor_totp=TOTP Authenticator twofactor_apikey=Authy API key twofactor_test=Use provider's test mode? twofactor_desc=Two-factor authentication allows Webmin users to enable use of an additional authentication device when logging in, such as a one-time passcode generator. Users must individually enroll with the selected authentication provider after it is enabled on this page. diff --git a/webmin/twofactor-funcs-lib.pl b/webmin/twofactor-funcs-lib.pl index ea1a9c89e..930108df2 100644 --- a/webmin/twofactor-funcs-lib.pl +++ b/webmin/twofactor-funcs-lib.pl @@ -5,7 +5,7 @@ # containing an ID, name and URL for more info sub list_twofactor_providers { -return ( [ 'totp', 'TOTP', +return ( [ 'totp', $text{'twofactor_totp'}, 'https://en.wikipedia.org/wiki/Time-based_one-time_password' ], [ 'authy', 'Authy', 'http://www.authy.com/' ] );