fix(token): disable token code experiment for sync users (#6007) r=@vladikoff
This commit is contained in:
Родитель
5adf30943f
Коммит
df1c4f288d
|
@ -27,7 +27,7 @@ define(function (require, exports, module) {
|
|||
constructor() {
|
||||
super();
|
||||
this.name = 'tokenCode';
|
||||
this.SYNC_ROLLOUT_RATE = 0.054; // 1.8% for each cohort = 5.4% total rollout
|
||||
this.SYNC_ROLLOUT_RATE = 0.00;
|
||||
}
|
||||
|
||||
choose(subject) {
|
||||
|
|
|
@ -23,7 +23,7 @@ define(function (require, exports, module) {
|
|||
defaultCapabilities: _.extend({}, proto.defaultCapabilities, {
|
||||
allowUidChange: true,
|
||||
emailFirst: true,
|
||||
tokenCode: true
|
||||
tokenCode: false
|
||||
}),
|
||||
|
||||
type: 'fx-desktop-v3',
|
||||
|
|
|
@ -42,7 +42,7 @@ define(function (require, exports, module) {
|
|||
action: undefined,
|
||||
customizeSync: false,
|
||||
signinCode: undefined,
|
||||
tokenCode: true
|
||||
tokenCode: false
|
||||
}),
|
||||
|
||||
initialize (attributes, options = {}) {
|
||||
|
|
|
@ -26,7 +26,6 @@ define(function (require, exports, module) {
|
|||
it('has the expected capabilities', () => {
|
||||
assert.isTrue(broker.hasCapability('allowUidChange'));
|
||||
assert.isTrue(broker.hasCapability('emailFirst'));
|
||||
assert.isTrue(broker.hasCapability('tokenCode'));
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче