mirror of
https://github.com/flarum/core.git
synced 2025-08-28 10:30:54 +02:00
chore: some fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -25,7 +25,7 @@ class PasswordResetThrottler
|
||||
|
||||
public function __invoke(Request $request): ?bool
|
||||
{
|
||||
if ($request->routeIs('forgot')) {
|
||||
if ($request->routeIs('forum.forgot')) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user