File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
view/adminhtml/web/js/google Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ class Auth extends Template
26
26
private $ scopeConfig ;
27
27
28
28
/**
29
- * @param ScopeConfigInterface|null $scopeConfig
29
+ * @param \Magento\Backend\Block\Template\Context $context
30
+ * @param ScopeConfigInterface $scopeConfig
31
+ * @param array $data
30
32
*/
31
33
public function __construct (
32
34
\Magento \Backend \Block \Template \Context $ context ,
Original file line number Diff line number Diff line change @@ -73,9 +73,9 @@ define([
73
73
var me = this ;
74
74
75
75
attempts ++ ;
76
- if ( attempts > this . getRetryAttempts ( ) ) {
77
- alert ( " Maximum otp retries are done." ) ;
78
- location . href = $ ( " .tfa-logout-link" ) . attr ( " href" ) ;
76
+ if ( attempts > this . getRetryAttempts ( ) ) {
77
+ console . log ( ' Maximum otp retries are done.' ) ;
78
+ location . href = $ ( ' .tfa-logout-link' ) . attr ( ' href' ) ;
79
79
return ;
80
80
}
81
81
You can’t perform that action at this time.
0 commit comments