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

Captcha Broken on dynamic subdomains #162

Open
TatwiraT opened this issue May 16, 2019 · 1 comment
Open

Captcha Broken on dynamic subdomains #162

TatwiraT opened this issue May 16, 2019 · 1 comment

Comments

@TatwiraT
Copy link

TatwiraT commented May 16, 2019

while using captcha on laravel 5.4 in a project with dynamic subdomains, it breaks

i debugged the code, found that the routes builder does not take the prefix/subdomain as option

please verify ^^

thank you

@tarexme
Copy link

tarexme commented Oct 2, 2019

A quick solution to make it work:

  1. Remove subdomain part from captcha image url (test.example.com/captcha/... -> example.com/captcha/...).
  2. Share sessions across subdomains by setting SESSION_DOMAIN in .env to .example.com.

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

No branches or pull requests

2 participants