1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

wrap key into new CryptoKey object

This commit is contained in:
Kyle Spearrin
2017-04-18 22:28:49 -04:00
parent 79744d89ce
commit 0926c82878
5 changed files with 103 additions and 98 deletions

View File

@@ -138,7 +138,7 @@ angular
return _setDeferred.promise;
};
_service.addProfileOrganizationOwner = function (org, key) {
_service.addProfileOrganizationOwner = function (org, keyCt) {
return _service.getUserProfile().then(function (profile) {
if (profile) {
if (!profile.organizations) {
@@ -148,7 +148,7 @@ angular
var o = {
id: org.Id,
name: org.Name,
key: key,
key: keyCt,
status: 2, // 2 = Confirmed
type: 0, // 0 = Owner
enabled: true