-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add getMessageKey()/getMessageData() to ResetPasswordExceptionInterface #102
Comments
Yo Kevin! Hmm, I see yes. So the public function getReasonData()
{
return ['{{ retry_time }}' => $this->retryTime];
} (btw, not sure on the naming there - should that exception give you the overall retry TTL? Or how much time is actually left until this one user can retry? And should it be in seconds, minutes? I don't think we can push a DateTime object into this, right? Thanks! |
Ok, as long as it's understood that changing the
I think the
I don't know if this is strictly necessary (and adding to the interface would be a BC break, correct?). Depending on how we handle the "retry after" for |
…loses SymfonyCasts#102) - added `getAvailableAt()` to get a `DateTime` object for when a reset can be attempted again - added `getRetryAfter()` to get the number of seconds before a reset can be attempted again
Very good point. Yes, we will follow this 👍 I'm going to close for now, since we solved the specific problem with |
Symfony's
AuthenticationException
has this to help with translation.The text was updated successfully, but these errors were encountered: