Skip to content

Commit 600262f

Browse files
Fixed the duplicate email verification listener registration
1 parent e79c2fa commit 600262f

4 files changed

Lines changed: 22 additions & 0 deletions

File tree

Changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## 5.x Series
44

5+
## Unreleased
6+
##### 2026-XX-YY
7+
8+
- Fixed the duplicate `SendEmailVerificationNotification` registration by adding an empty
9+
`configureEmailVerification()` method to the `EventServiceProvider` classes -
10+
See also: [Laravel 11.x Upgrade Guide](https://laravel.com/docs/11.x/upgrade#email-verification-notification-on-registration)
11+
512
## 5.2.0
613
##### 2026-04-21
714

src/Cart/Changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## 5.x Series
44

5+
## Unreleased
6+
##### 2026-XX-YY
7+
8+
- Fixed the duplicate `SendEmailVerificationNotification` registration by adding an empty
9+
`configureEmailVerification()` method to the `EventServiceProvider` class -
10+
See also: [Laravel 11.x Upgrade Guide](https://laravel.com/docs/11.x/upgrade#email-verification-notification-on-registration)
11+
512
## 5.2.0
613
##### 2026-04-21
714

src/Cart/Providers/EventServiceProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,8 @@ class EventServiceProvider extends ServiceProvider
4141
DissociateUserFromCart::class
4242
]
4343
];
44+
45+
protected function configureEmailVerification(): void
46+
{
47+
}
4448
}

src/Foundation/Providers/EventServiceProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,8 @@ class EventServiceProvider extends ServiceProvider
7474
UpdatePromotionUsage::class,
7575
],
7676
];
77+
78+
protected function configureEmailVerification(): void
79+
{
80+
}
7781
}

0 commit comments

Comments
 (0)