mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 10:20:58 -06:00
FIX: loaded
is a CP and can't be overwritten
This commit is contained in:
parent
9889b7277f
commit
6fac4a36b4
@ -1,5 +1,5 @@
|
||||
import I18n from "I18n";
|
||||
import { alias, and } from "@ember/object/computed";
|
||||
import { alias } from "@ember/object/computed";
|
||||
import Controller from "@ember/controller";
|
||||
import discourseComputed from "discourse-common/utils/decorators";
|
||||
import CanCheckEmails from "discourse/mixins/can-check-emails";
|
||||
@ -21,7 +21,7 @@ export default Controller.extend(CanCheckEmails, {
|
||||
secondFactorMethod: SECOND_FACTOR_METHODS.TOTP,
|
||||
totps: null,
|
||||
|
||||
loaded: and("secondFactorImage", "secondFactorKey"),
|
||||
loaded: false,
|
||||
|
||||
init() {
|
||||
this._super(...arguments);
|
||||
|
Loading…
Reference in New Issue
Block a user