Update devise-two-factor to 4.1.1
What does this MR do and why?
As a part of the &11470, we need to update relevant gems, devise-two-factor in this case. Since version 5.0.0
has breaking changes https://github.com/devise-two-factor/devise-two-factor/blob/main/CHANGELOG.md#500, we can start with 4.1.1 instead, which also supports Rails 7.1.
Changes: https://my.diffend.io/gems/devise-two-factor/4.0.2/4.1.1
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.