1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 06:13:38 +00:00

SG-632 Fix default value of email providers list (#4213)

This commit is contained in:
Carlos Gonçalves
2022-12-16 14:32:18 +00:00
committed by GitHub
parent 1e53ae4fb2
commit 8bfe48ea73
2 changed files with 5 additions and 2 deletions

View File

@@ -244,7 +244,10 @@ export class GeneratorComponent implements OnInit {
]; ];
this.usernameOptions = await this.usernameGenerationService.getOptions(); this.usernameOptions = await this.usernameGenerationService.getOptions();
if (this.usernameOptions.forwardedService == null) { if (
this.usernameOptions.forwardedService == null ||
this.usernameOptions.forwardedService === ""
) {
this.forwardOptions.push({ name: "", value: null }); this.forwardOptions.push({ name: "", value: null });
} }

View File

@@ -17,7 +17,7 @@ const DefaultOptions = {
wordIncludeNumber: true, wordIncludeNumber: true,
subaddressType: "random", subaddressType: "random",
catchallType: "random", catchallType: "random",
forwardedService: "simplelogin", forwardedService: "",
forwardedAnonAddyDomain: "anonaddy.me", forwardedAnonAddyDomain: "anonaddy.me",
}; };