File tree Expand file tree Collapse file tree
crates/bitwarden-organization-invite-link/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ impl InviteLinkClient {
105105
106106 let mut ctx = self . key_store . context ( ) ;
107107 let org_key = SymmetricKeySlotId :: Organization ( organization_id) ;
108- let invite_key = invite. invite_key_from_organization_key ( org_key, & mut ctx) ?;
108+ let invite_key = invite. unseal_invite_key_with_organization_key ( org_key, & mut ctx) ?;
109109 let invite_secret = invite. get_invite_secret ( invite_key, & mut ctx) ?;
110110 Ok ( invite_secret)
111111 }
@@ -149,7 +149,8 @@ impl InviteLinkClient {
149149 let mut ctx = self . key_store . context ( ) ;
150150
151151 // Recover the invite key from the invite secret the invitee holds.
152- let invite_key = invite. invite_key_from_invite_secret ( & invite_secret, & mut ctx) ?;
152+ let invite_key =
153+ invite. unseal_invite_key_with_invite_secret ( & invite_secret, & mut ctx) ?;
153154
154155 // Enroll into account recovery when requested. Verify the account-recovery public key
155156 // against the organization public-key thumbprint bound into the invite before
You can’t perform that action at this time.
0 commit comments