Skip to content

[token] throws ResetPasswordRuntimeException #308

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

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

jrushlow
Copy link
Contributor

  • getToken() now throws a ResetPasswordRuntimeException instead of a \RuntimeException

  • getExpirationMessageKey(), getExpirationMessageData(), & getExpiresAtIntervalInstance() now throw a ResetPasswordRuntimeException if an invalid timestamp was passed for $generatedAt. Previously, an unknown
    exception may have been thrown if DateTimeImmutable::createFromFormat() returned false instead of a time object.

  • the LogicException annotation (completely unrelated to this PR) was replaced as it is being removed in [token] add types and constructor property promotion #307

@jrushlow jrushlow added the Feature New Feature label Apr 16, 2024
@jrushlow jrushlow added this to the 2.x - Pre-release milestone Apr 16, 2024
@jrushlow jrushlow merged commit dd214c5 into SymfonyCasts:2.x Apr 17, 2024
@jrushlow jrushlow deleted the feature/token-exceptions branch April 17, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant