mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-29 17:38:04 +01:00
fixes
This commit is contained in:
parent
d879518233
commit
d4759d4056
@ -138,7 +138,8 @@
|
||||
cancelledDate: org.Subscription.CancelledDate,
|
||||
status: org.Subscription.Status,
|
||||
cancelled: org.Subscription.Status === 'cancelled',
|
||||
markedForCancel: org.Subscription.Status === 'active' && org.Subscription.CancelledDate
|
||||
markedForCancel: (org.Subscription.Status === 'active' || org.Subscription.Status === 'trialing') &&
|
||||
org.Subscription.CancelledDate
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,9 @@
|
||||
// User is not using an enc key, let's make them one
|
||||
$scope.tokenPromise = cipherService.updateKey(_masterPasswordHash, function () {
|
||||
return requestToken();
|
||||
}, processError);
|
||||
}, function (err) {
|
||||
toastr.error('Something went wrong.', 'Oh No!');
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
@ -33,9 +33,11 @@
|
||||
// User is not using an enc key, let's make them one
|
||||
$scope.savePromise = cryptoService.hashPassword(model.masterPassword).then(function (hash) {
|
||||
return cipherService.updateKey(hash);
|
||||
}, processError).then(function () {
|
||||
}).then(function () {
|
||||
return changePassword(model);
|
||||
}, processError);
|
||||
}, function (err) {
|
||||
toastr.error('Something went wrong.', 'Oh No!');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user