Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not autoload captcha class when disabled #2681

Merged
merged 3 commits into from
Nov 8, 2022
Merged

Do not autoload captcha class when disabled #2681

merged 3 commits into from
Nov 8, 2022

Conversation

luigifab
Copy link
Contributor

@luigifab luigifab commented Nov 6, 2022

Description

With Blackfire, I found when captcha is disabled in configuration, a class is autoloaded.
I dislike.

captcha

OpenMage 20.0.16 / PHP 8.0.25

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)

@github-actions github-actions bot added the Component: Captcha Relates to Mage_Captcha label Nov 6, 2022
@fballiano
Copy link
Contributor

@luigifab does this work for you with latest @sreichel modification?

@luigifab
Copy link
Contributor Author

luigifab commented Nov 7, 2022

Yes.

@fballiano
Copy link
Contributor

is it ok if we release before merging this? since I got enough reviews to merge #2571?

@luigifab
Copy link
Contributor Author

luigifab commented Nov 7, 2022

Yes, this is not really important.

@fballiano fballiano merged commit e528f20 into OpenMage:1.9.4.x Nov 8, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2022

Unit Test Results

1 files  ±0  1 suites  ±0   0s ⏱️ ±0s
0 tests ±0  0 ✔️ ±0  0 💤 ±0  0 ❌ ±0 
7 runs  ±0  5 ✔️ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit e528f20. ± Comparison against base commit 62d2598.

@fballiano
Copy link
Contributor

@sreichel I made a mistake and merged without squashing (since I changed the default merge strategy while merging the whole v19 -> v20 PR) and now the diff looks awful: v19.4.19...1.9.4.x

Is it possible to fix it without reverting?

sorry :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Captcha Relates to Mage_Captcha
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants