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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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();
if (this.usernameOptions.forwardedService == null) {
if (
this.usernameOptions.forwardedService == null ||
this.usernameOptions.forwardedService === ""
) {
this.forwardOptions.push({ name: "", value: null });
}

View File

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