From 33af9405156627c8c781e8cc349972f03285dda1 Mon Sep 17 00:00:00 2001 From: Todd Martin <106564991+trmartin4@users.noreply.github.com> Date: Fri, 26 Aug 2022 15:52:41 -0400 Subject: [PATCH] Revert PR #3393 because it was not the right solution This reverts commit 8dd15a1ff3d681baab9f691d48b3ac5966e28a0e. Co-authored-by: Todd Martin <> --- libs/common/src/services/usernameGeneration.service.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/common/src/services/usernameGeneration.service.ts b/libs/common/src/services/usernameGeneration.service.ts index 3015ac8b3b..7a5abd4f7d 100644 --- a/libs/common/src/services/usernameGeneration.service.ts +++ b/libs/common/src/services/usernameGeneration.service.ts @@ -117,19 +117,17 @@ 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;