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

Minor fixes to captcha #220

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

david-garcia-garcia
Copy link

A couple of nitpicks I found while setting up captcha support:

  • Add error to logs when remediation is set to captcha, but captcha client is not valid.
  • Fix styles for default captcha html so that the actual captcha is centered in screen

This is what it looked before the fix:

image

I found it weird that the docs have actual images of hcaptcha setup instead of google recaptcha, yet they state hcaptcha is not supported.

Comment on lines +281 to +284
margin: 0 auto;
width: 304px;
margin-top: 20px;
margin-bottom: 20px;
Copy link
Owner

Choose a reason for hiding this comment

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

Your margins are very weird, maybe you can use margin: 20px auto 20px

Additionnaly, not very sure about set a width to this div.

You can play with display: flex; justify-items: center;

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