diff options
author | Raman Tehlan <ramantehlan@gmail.com> | 2018-05-03 19:24:06 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2018-05-03 19:28:52 +0300 |
commit | 3054999afe82e2bba08547dfc229550234e2c109 (patch) | |
tree | c9c8cfaed1306ec7a382819d3ffe265bcc5a3f9a /templates | |
parent | 8af0343bb288784e4c5bef91a2d84c1df5b97d94 (diff) |
Display the secret for 2FA - #14128 (#14154)
* 2FA Secret added
* 2FA Secret Displayed
Fix #14128
Signed-off-by: Raman Tehlan <ramantehlan@gmail.com>
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
(cherry picked from commit 8dbae11f6f7ffb8a73f2c9c60976fe6f9ee0d844)
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/login/twofactor/application_configure.twig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/login/twofactor/application_configure.twig b/templates/login/twofactor/application_configure.twig index 85fcdf8f25..05f45b51af 100644 --- a/templates/login/twofactor/application_configure.twig +++ b/templates/login/twofactor/application_configure.twig @@ -6,5 +6,9 @@ <img src="{{ image }}" /> </p> <p> + {% trans "Secret/key:" %} <b>{{ secret }}</b> +</p> +<p> +<label>{% trans "Authentication code:" %} <input type="text" name="2fa_code" /></label> <label>{% trans "Authentication code:" %} <input type="text" name="2fa_code" autocomplete="off" /></label> </p> |