mirror of
https://github.com/bitwarden/browser
synced 2024-12-25 17:32:46 +01:00
Changed where website parameter is passed in to forwarding services. (#3393)
Co-authored-by: Todd Martin <>
This commit is contained in:
parent
42eb40dc67
commit
8dd15a1ff3
@ -117,17 +117,19 @@ export class UsernameGenerationService implements BaseUsernameGenerationService
|
||||
|
||||
let forwarder: Forwarder = null;
|
||||
const forwarderOptions = new ForwarderOptions();
|
||||
forwarderOptions.website = o.website;
|
||||
if (o.forwardedService === "simplelogin") {
|
||||
forwarder = new SimpleLoginForwarder();
|
||||
forwarderOptions.apiKey = o.forwardedSimpleLoginApiKey;
|
||||
forwarderOptions.website = o.website;
|
||||
} else if (o.forwardedService === "anonaddy") {
|
||||
forwarder = new AnonAddyForwarder();
|
||||
forwarderOptions.apiKey = o.forwardedAnonAddyApiToken;
|
||||
forwarderOptions.anonaddy.domain = o.forwardedAnonAddyDomain;
|
||||
forwarderOptions.website = o.website;
|
||||
} else if (o.forwardedService === "firefoxrelay") {
|
||||
forwarder = new FirefoxRelayForwarder();
|
||||
forwarderOptions.apiKey = o.forwardedFirefoxApiToken;
|
||||
forwarderOptions.website = o.website;
|
||||
} else if (o.forwardedService === "fastmail") {
|
||||
forwarder = new FastmailForwarder();
|
||||
forwarderOptions.apiKey = o.forwardedFastmailApiToken;
|
||||
|
Loading…
Reference in New Issue
Block a user