Skip to content

Cleaner recaptcha v2 #2692

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

Merged
merged 4 commits into from
Mar 7, 2018
Merged

Conversation

AmazingDreams
Copy link
Contributor

Cherry picked commits from #2672

@AmazingDreams
Copy link
Contributor Author

Oh now composer deps are whining..

@AmazingDreams
Copy link
Contributor Author

@TheSerapher I guess it's ready. Let me know what you think.

@TheSerapher
Copy link
Contributor

Excellent work man! I have no reason not to merge so ... merged! Lets see if people can test it against development!

@TheSerapher TheSerapher merged commit 97b3cc3 into MPOS:development Mar 7, 2018
@@ -1,20 +1,25 @@
<?php
$defflip = (!cfip()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;

$recaptcha_enabled = ($setting->getValue('recaptcha_enabled') && $setting->getValue('recaptcha_enabled_logins'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, never had this idea when writing MPOS.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The perks of being lazy ;)

@AmazingDreams
Copy link
Contributor Author

Thanks for merging. I'm running this in production on https://pool.amazingsystems.nl/

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

Successfully merging this pull request may close these issues.

2 participants