Skip to content
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 "Retry After" to TooManyPasswordRequestsException #101

Closed
kbond opened this issue Apr 16, 2020 · 1 comment
Closed

Add "Retry After" to TooManyPasswordRequestsException #101

kbond opened this issue Apr 16, 2020 · 1 comment

Comments

@kbond
Copy link
Contributor

kbond commented Apr 16, 2020

It would be useful to let the user know when they can retry.

Relates to #102 in that this value could be added to getMessageData for TooManyPasswordRequestsException

@kbond
Copy link
Contributor Author

kbond commented Apr 17, 2020

I'll open a PR with the idea discussed in #102

kbond added a commit to kbond/reset-password-bundle that referenced this issue Apr 17, 2020
…loses SymfonyCasts#101)

- 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
kbond added a commit to kbond/reset-password-bundle that referenced this issue Apr 17, 2020
…loses SymfonyCasts#101)

- 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
kbond added a commit to kbond/reset-password-bundle that referenced this issue Apr 17, 2020
…loses SymfonyCasts#101)

- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant