mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
Changed methods to be protected
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 54f407d0de...462a4d7c56
@@ -40,7 +40,7 @@ export class KeyConnectorService extends BaseKeyConnectorService {
|
||||
);
|
||||
}
|
||||
|
||||
async getUserKeyFromKeyConnector(url: string): Promise<KeyConnectorUserKeyResponse> {
|
||||
protected async getUserKeyFromKeyConnector(url: string): Promise<KeyConnectorUserKeyResponse> {
|
||||
if (this.platformUtilsService.isSelfHost()) {
|
||||
return super.getUserKeyFromKeyConnector(url);
|
||||
}
|
||||
@@ -51,7 +51,10 @@ export class KeyConnectorService extends BaseKeyConnectorService {
|
||||
return frame.promise.then((key: string) => new KeyConnectorUserKeyResponse({ Key: key }));
|
||||
}
|
||||
|
||||
async postUserKeyToKeyConnector(url: string, request: KeyConnectorUserKeyRequest): Promise<void> {
|
||||
protected async postUserKeyToKeyConnector(
|
||||
url: string,
|
||||
request: KeyConnectorUserKeyRequest
|
||||
): Promise<void> {
|
||||
if (this.platformUtilsService.isSelfHost()) {
|
||||
return super.postUserKeyToKeyConnector(url, request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user