File tree Expand file tree Collapse file tree 3 files changed +10
-11
lines changed
Model/Provider/Engine/U2fKey
view/adminhtml/web/template/u2fkey Expand file tree Collapse file tree 3 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -140,10 +140,9 @@ public function getAuthenticateData(array $publicKeys): array
140
140
$ data = [
141
141
'credentialRequestOptions ' => [
142
142
'challenge ' => $ this ->convertBytesToArray ($ challenge ),
143
- 'mediation ' => 'required ' ,
144
143
'timeout ' => 60000 ,
145
144
'allowCredentials ' => $ allowedCredentials ,
146
- 'userVerification ' => 'required ' ,
145
+ 'userVerification ' => 'discouraged ' ,
147
146
'extensions ' => [
148
147
'txAuthSimple ' => 'Authenticate with ' . $ store ->getName (),
149
148
],
@@ -192,7 +191,7 @@ public function getRegisterData(UserInterface $user): array
192
191
'authenticatorSelection ' => [
193
192
'authenticatorAttachment ' => 'cross-platform ' ,
194
193
'requireResidentKey ' => false ,
195
- 'userVerification ' => 'required '
194
+ 'userVerification ' => 'discouraged '
196
195
],
197
196
'timeout ' => 60000 ,
198
197
// Currently only one device may be registered at a time
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
-->
7
- < div data-bind =" afterRender: onAfterRender ">
7
+ < div afterRender =" onAfterRender ">
8
8
< div visible ='currentStep() === "register" '>
9
9
< fieldset class ="admin__fieldset ">
10
10
< legend class ="admin__legend ">
11
- < span data-bind =' i18n: " 2FA - U2F key verification" ' > </ span >
11
+ < span translate =" ' 2FA - U2F key verification' " > </ span >
12
12
</ legend > < br />
13
13
< div class ="tfa-u2f-touch-key ">
14
- < h3 data-bind =' i18n: " Plug in your U2F key, then touch button" ' > </ h3 >
14
+ < h3 translate =" ' Plug in your U2F key and follow instructions' " > </ h3 >
15
15
< div visible ="$data.idle " class ="tfa-u2f-try-again ">
16
16
< a href ="javascript:void(0) " click ="waitForTouch " translate ="'Try again' "> </ a >
17
17
</ div >
@@ -25,6 +25,6 @@ <h3 data-bind='i18n: "Plug in your U2F key, then touch button"'></h3>
25
25
< span /> < span /> < span /> < span /> < span /> < span /> < span /> < span />
26
26
</ div >
27
27
</ div >
28
- < div data-bind =' i18n: " Redirecting to Magento Admin Panel..." ' > </ div >
28
+ < div translate =" ' Redirecting to Magento Admin Panel...' " > </ div >
29
29
</ div >
30
30
</ div >
Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
-->
7
- < div data-bind =" afterRender: onAfterRender ">
7
+ < div afterRender =" onAfterRender ">
8
8
< div visible ='currentStep() === "register" '>
9
9
< fieldset class ="admin__fieldset ">
10
10
< legend class ="admin__legend ">
11
- < span data-bind =' i18n: " 2FA - U2F key device registration" ' > </ span >
11
+ < span translate =" ' 2FA - U2F key device registration' " > </ span >
12
12
</ legend > < br />
13
13
< div id ="u2f-touch-key ">
14
- < h3 data-bind =' i18n: " Plug in your U2F key, then touch button" ' > </ h3 >
14
+ < h3 translate =" ' Plug in your U2F key and follow instructions' " > </ h3 >
15
15
< div visible ="$data.idle " class ="tfa-u2f-try-again ">
16
16
< a href ="javascript:void(0) " click ="waitForTouch " translate ="'Try again' "> </ a >
17
17
</ div >
@@ -25,6 +25,6 @@ <h3 data-bind='i18n: "Plug in your U2F key, then touch button"'></h3>
25
25
< span /> < span /> < span /> < span /> < span /> < span /> < span /> < span />
26
26
</ div >
27
27
</ div >
28
- < div data-bind =' i18n: " Redirecting to Magento Admin Panel..." ' > </ div >
28
+ < div translate =" ' Redirecting to Magento Admin Panel...' " > </ div >
29
29
</ div >
30
30
</ div >
You can’t perform that action at this time.
0 commit comments