Skip to content

Commit

Permalink
Merge pull request #80 from mageplaza/2.4-develop
Browse files Browse the repository at this point in the history
2.4 develop
  • Loading branch information
HuyPhuc98 committed Jun 28, 2023
2 parents ac75c60 + 29286b1 commit eeb9cc1
Show file tree
Hide file tree
Showing 5 changed files with 441 additions and 440 deletions.
4 changes: 3 additions & 1 deletion Console/Adminhtml/Command/Disable.php
Expand Up @@ -76,7 +76,7 @@ protected function configure()
* @param InputInterface $input
* @param OutputInterface $output
*
* @return int|void|null
* @return int
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
Expand All @@ -87,5 +87,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$this->_configWriter->save($path, '0');
$output->writeln(__('The captcha backend has been successfully disabled. Please run the flush cache command again'));
}

return 0;
}
}
4 changes: 3 additions & 1 deletion Console/Adminhtml/Command/Enable.php
Expand Up @@ -76,7 +76,7 @@ protected function configure()
* @param InputInterface $input
* @param OutputInterface $output
*
* @return int|void|null
* @return int
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
Expand All @@ -87,5 +87,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$this->_configWriter->save($path, '1');
$output->writeln(__('The captcha backend has been successfully enabled. Please run the flush cache command again'));
}

return 0;
}
}
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -6,7 +6,7 @@
"google/recaptcha": "^1.2"
},
"type": "magento2-module",
"version": "4.0.3",
"version": "4.0.4",
"license": "proprietary",
"authors": [
{
Expand Down
4 changes: 0 additions & 4 deletions view/frontend/templates/captcha.phtml
Expand Up @@ -41,10 +41,6 @@ if ($block->isCaptchaFrontend()): ?>
}
<?php endif; ?>

.form.form-login .g-recaptcha .grecaptcha-badge{
position: unset !important;
}

.form-customer-login .g-recaptcha {
margin: 0px;
}
Expand Down

0 comments on commit eeb9cc1

Please sign in to comment.