Laravel 11 Fortify error Route [/email/verification-notification] not defined

I’m trying to implement an auth system with Laravel 11 Fortify that requires email verification.

1)
In order to implement the feature to send a new verification link, the docs say:

If you wish, you may add a button to your application’s verify-email template that triggers a POST request to the /email/verification-notification endpoint.

so I did.

2) In my verify-email.blade.php I did

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>@extends('layouts.public')
@section('body')
<h1>Please go to your email and click the link to verify your E-Mail address</h1>
<form action="{{ route('email/verification-notification') }}" method="POST">
@csrf
<div>I recieved no E-Mail! </div><button type="submit">Send new verify E-Mail</button>
</form>
@endsection
</code>
<code>@extends('layouts.public') @section('body') <h1>Please go to your email and click the link to verify your E-Mail address</h1> <form action="{{ route('email/verification-notification') }}" method="POST"> @csrf <div>I recieved no E-Mail! </div><button type="submit">Send new verify E-Mail</button> </form> @endsection </code>
@extends('layouts.public')

@section('body')
    <h1>Please go to your email and click the link to verify your E-Mail address</h1>
    <form action="{{ route('email/verification-notification') }}" method="POST">
        @csrf
        <div>I recieved no E-Mail! </div><button type="submit">Send new verify E-Mail</button>
    </form>
@endsection

3) When I now register a new user and been redirected to that verify-email view, I get the error message that the route for email/verification-notification is not defined.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>Route [/email/verification-notification] not defined.
</code>
<code>Route [/email/verification-notification] not defined. </code>
Route [/email/verification-notification] not defined.

However, when I check the routes with php artisan route:list, it shows me that this route does exist.

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
<code>root@7ee35776a20b:/var/www/html# php artisan route:list
...
POST email/verification-notification ..... verification.send › LaravelFortify › EmailVerificationNotificationController@store
GET|HEAD email/verify ..... verification.notice › LaravelFortify › EmailVerificationPromptController@__invoke
GET|HEAD email/verify/{id}/{hash} ..... verification.verify › LaravelFortify › VerifyEmailController@__invoke
...
</code>
<code>root@7ee35776a20b:/var/www/html# php artisan route:list ... POST email/verification-notification ..... verification.send › LaravelFortify › EmailVerificationNotificationController@store GET|HEAD email/verify ..... verification.notice › LaravelFortify › EmailVerificationPromptController@__invoke GET|HEAD email/verify/{id}/{hash} ..... verification.verify › LaravelFortify › VerifyEmailController@__invoke ... </code>
root@7ee35776a20b:/var/www/html# php artisan route:list
  ...
  POST      email/verification-notification ..... verification.send › LaravelFortify › EmailVerificationNotificationController@store
  GET|HEAD  email/verify ..... verification.notice › LaravelFortify › EmailVerificationPromptController@__invoke
  GET|HEAD  email/verify/{id}/{hash} ..... verification.verify › LaravelFortify › VerifyEmailController@__invoke
  ...

I’ve been following the instructions from the docs step by step, but still this is not working.

How do I properly implement email verification so that I’m able to re-send a verification link, when needed?

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật