Skip to content

Releases: SymfonyCasts/reset-password-bundle

New translation: Arabic

05 May 18:23
Compare
Choose a tag to compare

Howdy Resetters!

This is a small release containing community-contributed translations for the Arabic language:

Feature

Diff: v1.7.0...v1.8.0

Happy Resetting!

New Translation: Turkish

12 Apr 17:44
368a4f6
Compare
Choose a tag to compare

Howdy Resetters!

This is a small release containing community-contributed translations for the Turkish language.

Diff: v1.6.0...v1.7.0

Happy Resetting!

Add ability to generate fake reset tokens!

31 Mar 09:05
fef9bc5
Compare
Choose a tag to compare

Howdy!

This release adds a new helper method that allows you to generate fake reset tokens (#156).

Why would I want to do that? This can be used to display a "reset confirmation email sent" page that includes a valid "expiration date", even if the requested email was not actually found.

Diff: v1.5.0...v1.6.0

Happy Resetting!

New translations (Italian, Spanish, Portuguese) + language fixes

04 Mar 16:26
Compare
Choose a tag to compare

Hi Resetters!

This release contains more community-supplied translations for Italian, Spanish, Portuguese as well as some fixes for French (#155) and Polish (#153) Thank you to all the contributors ❤️ .

Diff: v1.4.0...v1.5.0

Have fun!

New translations: German, French, Polish, Serbian, Ukranian & Russian

17 Feb 16:35
Compare
Choose a tag to compare

Hi Resetters!

This release contains a bunch of new community-supplied translations for German, French, Polish, Serbian, Ukranian & Russian. Thank you to all the contributors ❤️ .

Diff: v1.3.0...v1.4.0

Have fun!

Added trait methods to store token in the session

15 Jan 16:52
Compare
Choose a tag to compare

Hi Resetters!

This release contains #143 from @jrushlow which introduces 2 new methods in ResetPasswordControllerTrait for storing the entire ResetPasswordToken object in the session. The purpose of this - see symfony/maker-bundle#785 - is to allow you to store the object in the session so that you can accurately show the expiration time on the next page.

Diff: v1.2.2...v1.3.0

Have fun!

Fix timezone regression in 1.2.1 with timezone

19 Dec 17:32
Compare
Choose a tag to compare

Hi!

This release contains a fix to the fix in 1.2.1 related to timezones and expires at - see #138 for details and #139 for the fix.

Cheers!

Bug fix for "link expiration" time & timezones

18 Dec 15:08
Compare
Choose a tag to compare

Hi friends!

This is a small release that contains one bug fix in #135 thanks to @jrushlow - which fixes #119

Previously, depending on your server timezone, the "reset password link expiration" email may have rendered incorrectly, for example telling the user that they had, for example, 7 hours until the token expired, when in reality it was only 1.

The fix also adds native translation support. To use it, in the template that sends the verification email, make the following change:

- <p>This link will expire in {{ tokenLifetime|date('g') }} hour(s).</p>
+ <p>This link will expire in {{ resetToken.expirationMessageKey|trans(resetToken.expirationMessageData, 'ResetPasswordBundle') }}.</p>

Have fun!

Allowing PHP 8

10 Dec 14:20
b1002d2
Compare
Choose a tag to compare

Hi friends!

This is a tiny release that simply makes this bundle installable on PHP 8. This support should be considered experimental - we don't expect any issues, but we're waiting on GH actions support for PHP 8 before the CI pipeline will fully test PHP 8.

Highlights

#134 - Allow the bundle to be used with PHP 8 - thanks to @ker0x

Cheers!

Security Enhancement: clear all user requests after usage

18 Apr 00:42
Compare
Choose a tag to compare

Hi friends!

This release contains one change to harden security:

  • ensure all requests are removed for user - #105 thanks to @kbond

While not normally possible (unless you change the throttle timeout), if a user does have multiple, active "password reset requests" in storage, after using one of them to change their password, all "password reset requests" for that user should be removed. This is safer than allowing other password reset requests to remain active.

Cheers!