Update User.php

This commit is contained in:
Jens 2024-05-23 01:46:38 +02:00 committed by GitHub
parent 150c24d078
commit bf260528a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -200,7 +200,7 @@ class User extends Authenticatable implements MustVerifyEmail
);
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);
}
}