1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02:00

overload defaults on options get

This commit is contained in:
Kyle Spearrin 2018-10-10 09:59:09 -04:00
parent 154c211fb1
commit 7c3e0cba34

View File

@ -184,7 +184,7 @@ export class PasswordGenerationService implements PasswordGenerationServiceAbstr
if (options == null) {
this.optionsCache = DefaultOptions;
} else {
this.optionsCache = options;
this.optionsCache = Object.assign({}, DefaultOptions, options);
}
}