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

I cannot access the panel if I set up the email verification middleware in it. #14627

Open
alokVishu opened this issue Oct 25, 2024 · 0 comments
Labels

Comments

@alokVishu
Copy link

alokVishu commented Oct 25, 2024

Package

filament/filament

Package Version

v3.2

Laravel Version

v11.9

Livewire Version

No response

PHP Version

PHP 8.3.12

Problem description

I am trying to use the email verification feature in a fresh Laravel project. I have set up the EnsureEmailIsVerified::class middleware in the Filament panel and enabled the ->emailVerification() option in Filament.

However, I am unable to access the Filament panel, regardless of whether my email is verified or not. I also cannot visit the login page at /admin/login, as it redirects me to the verification.notice route.

Expected behavior

It should allow access to the Filament panel after successful email verification. Additionally, it should at least permit access to the login page at /admin/login. However, I am currently unable to access the panel or the login page, as both redirect me to the verification.notice route.

Steps to reproduce

  • Clone the attached repo.
  • Composer install
  • npm install/pnpm install
  • PHP artisan migrate
  • php artisan make:filament-user
  • PHP artisan serve
  • try to visit /admin/login

Reproduction repository (issue will be closed if this is not valid)

https://github.com/alokVishu/filament-email-issue

Relevant log output

No response

Donate 💰 to fund this issue

  • You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
  • 100% of the funding will be distributed between the Filament core team to run all aspects of the project.
  • Thank you in advance for helping us make maintenance sustainable!
Fund with Polar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

1 participant