mirror of
https://github.com/discourse/discourse.git
synced 2024-12-13 02:53:44 +08:00
952f69ce60
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. |
||
---|---|---|
.. | ||
hide_from_public_spec.rb | ||
staff_info_spec.rb | ||
user_notifications_spec.rb | ||
user_preferences_account_spec.rb | ||
user_preferences_interface_spec.rb | ||
user_preferences_navigation_spec.rb | ||
user_preferences_security_spec.rb | ||
user_profile_info_panel_spec.rb |