From 11e8cf42786d0b0c32fbd470178daa6afaf2aa63 Mon Sep 17 00:00:00 2001 From: Jeroen Pinoy Date: Tue, 9 Jan 2024 15:38:31 +0100 Subject: [PATCH] chg: [totp] add clarifications to totp setup view --- app/View/Users/totp_new.ctp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/View/Users/totp_new.ctp b/app/View/Users/totp_new.ctp index 9293fba79..937bcb6ea 100644 --- a/app/View/Users/totp_new.ctp +++ b/app/View/Users/totp_new.ctp @@ -1,7 +1,7 @@ Flash->render(); ?> " . $secret . ""; +$detailsHtml = __("To enable TOTP for your account, scan the following QR code with your TOTP application (for example Google authenticator or KeepassXC) and validate the token.");; +$secretHtml = __("Alternatively you can enter the following secret in your TOTP application. This can be particularly handy in case you don't have a supported application in your working environment. Once the verification is done you'll also get 50 \"paper-based\" login tokens so you don't have to use a TOTP application each time: ") . "
" . $secret . "
"; echo $this->element('/genericElements/Form/genericForm', array( "form" => $this->Form,