heartcombo / devise

Flexible authentication solution for Rails with Warden.
http://blog.plataformatec.com.br/tag/devise/
MIT License
24.01k stars 5.55k forks source link

Fix bugs in `extend_remember_period` (reprise) #5711

Open dlwr opened 2 months ago

dlwr commented 2 months ago

close #5351, close #5418, close #5701

This pull request contains the same changes as https://github.com/heartcombo/devise/pull/5418. However, since PR #5418 was created three years ago, it needed conflict resolution. While I could have asked @nomis to resolve the conflicts, I decided to create a new PR myself since it was just a matter of resolving those conflicts. With this fix, extend_remember_period now works as expected on my end.