mirror of
https://github.com/flarum/framework.git
synced 2025-02-26 16:39:39 +08:00
chore: some fixes
This commit is contained in:
parent
6fb1640b3c
commit
f126c688d3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user