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/app
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
..
adapters FIX: Avoid duplicate topic-list requests (#18073) 2022-08-24 11:54:01 +01:00
components FIX: do not lock account if backup codes are available (#18982) 2022-11-11 13:00:06 +11:00
controllers FIX: do not lock account if backup codes are available (#18982) 2022-11-11 13:00:06 +11:00
helpers FEATURE: site setting to disable usernames in share links. (#18315) 2022-09-22 23:12:39 +05:30
initializers DEV: Load client site settings YML into JS tests (#18413) 2022-11-08 09:17:43 +10:00
lib FEATURE: Rename onboarding popups to user tips (#18826) 2022-11-09 20:20:34 +02:00
mixins DEV: Only focus user card first link if not mouse input (#18960) 2022-11-10 10:12:03 -08:00
models FEATURE: Rename onboarding popups to user tips (#18826) 2022-11-09 20:20:34 +02:00
modifiers DEV: Install ember-modifier and @ember/render-modifiers (#17595) 2022-07-21 18:12:29 +01:00
pre-initializers DEV: Clean up pre-initializers (#18680) 2022-10-26 09:19:54 +08:00
raw-views DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
routes UX: Change ordering of categories shown in sidebar (#18803) 2022-11-04 05:21:49 +09:00
services FIX: 404 sending beacon "leave all" on subfolder install 2022-09-27 19:57:38 +01:00
styles DEV: Migrate to Ember CLI (#11932) 2021-02-03 14:22:20 -05:00
templates FIX: do not lock account if backup codes are available (#18982) 2022-11-11 13:00:06 +11:00
widgets FEATURE: Rename onboarding popups to user tips (#18826) 2022-11-09 20:20:34 +02:00
app.js DEV: Normalize event handling to improve Glimmer + Classic component compat (Take 2) (#18742) 2022-10-26 14:44:12 +01:00
index.html DEV: Preload CSS in the <head> (#17322) 2022-07-05 00:23:09 +08:00
mapping-router.js DEV: Clean up pre-initializers (#18680) 2022-10-26 09:19:54 +08:00