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

Two Factor Auth published view not working with fortify prefixed routes #525

Closed
Caffe1neAdd1ct opened this issue Dec 10, 2020 · 2 comments · Fixed by #528
Closed

Two Factor Auth published view not working with fortify prefixed routes #525

Caffe1neAdd1ct opened this issue Dec 10, 2020 · 2 comments · Fixed by #528
Labels

Comments

@Caffe1neAdd1ct
Copy link

Caffe1neAdd1ct commented Dec 10, 2020

  • Jetstream Version: 1.6
  • Jetstream Stack: Livewire
  • Laravel Version: 8.12
  • PHP Version: 7.4
  • Database Driver & Version: MariaDB 10.5

Description:

Changing the fortify prefix allows prefixing the entire login pipeline routes from /login to /admin/login however currently breaks the two factor authentication process due to the published Jetstream Livewire view for 2FA containing a manual form url:

<form method="POST" action="/two-factor-challenge">
                @csrf

Changing to

<form method="POST" action="{{ route('two-factor.login') }}">
                @csrf

Fixes for me.

Steps To Reproduce:

@driesvints
Copy link
Member

I've sent in a PR: #528

@Caffe1neAdd1ct
Copy link
Author

@driesvints Thanks very much for raising the pull request!

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

Successfully merging a pull request may close this issue.

2 participants