diff --git a/framework/core/src/User/Throttler/EmailActivationThrottler.php b/framework/core/src/User/Throttler/EmailActivationThrottler.php index ae45f4d49..767c3f32f 100644 --- a/framework/core/src/User/Throttler/EmailActivationThrottler.php +++ b/framework/core/src/User/Throttler/EmailActivationThrottler.php @@ -24,7 +24,7 @@ class EmailActivationThrottler public function __invoke(Request $request): ?bool { - if ($request->routeIs('users.confirmation.send')) { + if ($request->routeIs('api.users.confirmation.send')) { return null; } diff --git a/framework/core/src/User/Throttler/EmailChangeThrottler.php b/framework/core/src/User/Throttler/EmailChangeThrottler.php index 5fbb92376..09d492b29 100644 --- a/framework/core/src/User/Throttler/EmailChangeThrottler.php +++ b/framework/core/src/User/Throttler/EmailChangeThrottler.php @@ -24,7 +24,7 @@ class EmailChangeThrottler public function __invoke(Request $request): ?bool { - if ($request->routeIs('users.update')) { + if ($request->routeIs('api.users.update')) { return null; } diff --git a/framework/core/src/User/Throttler/PasswordResetThrottler.php b/framework/core/src/User/Throttler/PasswordResetThrottler.php index 0aa38bb63..5943fdad6 100644 --- a/framework/core/src/User/Throttler/PasswordResetThrottler.php +++ b/framework/core/src/User/Throttler/PasswordResetThrottler.php @@ -25,7 +25,7 @@ class PasswordResetThrottler public function __invoke(Request $request): ?bool { - if ($request->routeIs('forgot')) { + if ($request->routeIs('forum.forgot')) { return null; }