Alan Guo Xiang Tan
952f69ce60
FIX: User can't reset password with backup codes when only security key is enabled ( #27368 )
...
This commit fixes a problem where the user will not be able to reset
their password when they only have security keys and backup codes
configured.
This commit also makes the following changes/fixes:
1. Splits password reset system tests to
`spec/system/forgot_password_spec.rb` instead of missing the system
tests in `spec/system/login_spec.rb` which is mainly used to test
the login flow.
2. Fixes a UX issue where the `Use backup codes` or `Use authenticator
app` text is shown on the reset password form when the user does
not have either backup codes or an authenticator app configured.
2024-06-06 14:30:42 +08:00
..
2024-06-05 13:27:06 +10:00
2023-01-09 14:14:59 +00:00
2023-12-06 16:37:32 +10:00
2024-06-03 10:18:14 +03:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2024-05-22 12:50:21 -03:00
2023-11-10 11:16:06 +00:00
2024-05-27 18:06:14 +02:00
2023-01-09 14:14:59 +00:00
2023-09-13 19:21:44 +05:30
2023-05-25 14:53:59 +02:00
2023-01-09 14:14:59 +00:00
2024-04-02 11:05:08 -04:00
2023-01-09 14:14:59 +00:00
2023-07-31 15:00:05 +01:00
2023-01-09 14:14:59 +00:00
2024-04-10 17:35:42 +03:00
2023-06-07 17:19:58 -05:00
2023-12-06 16:37:32 +10:00
2024-05-28 12:59:24 +08:00
2023-01-09 14:14:59 +00:00
2024-03-15 14:24:04 +08:00
2023-12-06 13:19:09 +01:00
2024-05-27 18:06:14 +02:00
2023-05-29 14:47:18 -07:00
2023-01-09 14:14:59 +00:00
2024-05-22 11:47:28 -04:00
2024-02-12 12:07:14 +02:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-12-28 10:16:04 -05:00
2024-05-27 18:06:14 +02:00
2024-05-27 18:06:14 +02:00
2023-01-09 14:14:59 +00:00
2024-03-15 12:08:37 -04:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2024-04-25 11:00:01 +01:00
2023-01-09 14:14:59 +00:00
2024-02-20 09:48:09 +10:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2024-05-27 18:06:14 +02:00
2023-11-10 14:27:43 -06:00
2023-01-09 14:14:59 +00:00
2023-01-09 14:14:59 +00:00
2023-09-11 09:12:37 +01:00
2023-10-09 07:24:10 +08:00
2024-05-27 18:06:14 +02:00
2023-01-09 14:14:59 +00:00
2023-12-13 14:06:59 +00:00
2024-05-27 18:06:14 +02:00
2024-06-06 14:30:42 +08:00
2024-05-06 11:32:18 -05:00
2023-01-09 14:14:59 +00:00
2024-04-23 09:52:01 -04:00
2023-01-09 14:14:59 +00:00
2023-01-23 14:48:33 +10:00
2024-05-23 09:29:08 +08:00
2023-01-09 14:14:59 +00:00
2023-06-12 12:49:26 +02:00
2023-05-17 14:25:06 +08:00
2023-07-28 12:53:46 +01:00
2024-05-27 18:06:14 +02:00
2024-05-27 18:06:14 +02:00
2024-05-27 15:25:32 +10:00
2024-05-27 18:06:14 +02:00
2024-03-15 14:24:00 +08:00
2024-04-10 17:35:42 +03:00
2024-01-19 11:25:24 +08:00
2023-02-21 10:30:48 +01:00
2023-07-31 15:00:05 +01:00
2022-11-24 19:16:28 +04:00
2024-06-05 15:22:59 +10:00
2024-01-30 10:32:42 +00:00
2023-06-08 20:06:20 +03:00
2023-01-09 14:14:59 +00:00