Update User.php
This commit is contained in:
parent
150c24d078
commit
bf260528a0
|
@ -200,7 +200,7 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||||
);
|
);
|
||||||
|
|
||||||
if (! $executed) {
|
if (! $executed) {
|
||||||
return response()->json(['message' => 'Too many requests, try again in: ' . RateLimiter::availableIn('send-message:'. $this->id) . ' seconds'], 429);
|
return response()->json(['message' => 'Too many requests, try again in: ' . RateLimiter::availableIn('verify-mail:'. $this->id) . ' seconds'], 429);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue