This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse
Krzysztof Kotlarek 4db5525d25
FIX: do not lock account if backup codes are available (#18982)
Currently, we have available three 2fa methods:
- Token-Based Authenticators
- Physical Security Keys
- Two-Factor Backup Codes

If the first two are deleted, user lose visibility of their backup codes, which suggests that 2fa is disabled.

However, when they try to authenticate, the account is locked, and they have to ask admin to fix that problem.

This PR is fixing the issue. User still sees backup codes in their panel and can use them to authenticate.

In next PR, I will improve UI to clearly notify the user when 2fa is fully disabled and when it is still active.
2022-11-11 13:00:06 +11:00
..
app FIX: do not lock account if backup codes are available (#18982) 2022-11-11 13:00:06 +11:00
config DEV: Enable jquery-integration runtime deprecation (#18057) 2022-08-23 19:28:22 +01:00
lib Build(deps): Bump loader-utils (#18930) 2022-11-08 01:02:00 +01:00
public/assets/scripts DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00
scripts DEV: Compile splash screen JS with ember-cli before inlining (#18150) 2022-09-01 09:58:48 +01:00
tests FIX: do not lock account if backup codes are available (#18982) 2022-11-11 13:00:06 +11:00
.ember-cli REFACTOR: Sync up master with changes for Ember-CLI (#11671) 2021-01-12 10:13:21 -05:00
.npmrc DEV: Prevent npm usage (#13945) 2021-08-04 22:04:58 +02:00
ember-cli-build.js DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
jsconfig.json DEV: Add jsconfig (#17800) 2022-08-04 22:50:47 +01:00
package.json Build(deps): Bump @babel/standalone in /app/assets/javascripts (#18963) 2022-11-10 14:23:08 +01:00
testem.js DEV: Load plugin CSS in tests (#18668) 2022-10-19 18:10:06 +01:00