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
2626 private $ scopeConfig ;
2727
2828 /**
29- * @param ScopeConfigInterface|null $scopeConfig
29+ * @param \Magento\Backend\Block\Template\Context $context
30+ * @param ScopeConfigInterface $scopeConfig
31+ * @param array $data
3032 */
3133 public function __construct (
3234 \Magento \Backend \Block \Template \Context $ context ,
Original file line number Diff line number Diff line change @@ -73,9 +73,9 @@ define([
7373 var me = this ;
7474
7575 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' ) ;
7979 return ;
8080 }
8181
You can’t perform that action at this time.
0 commit comments