fix for passphrase generator persistent settings (#1065)

This commit is contained in:
Matt Portune 2020-09-10 12:19:02 -04:00 committed by GitHub
parent f68db90b1f
commit 22101d8f4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -286,6 +286,10 @@ namespace Bit.App.Pages
public async Task SliderInputAsync() public async Task SliderInputAsync()
{ {
if (!_doneIniting)
{
return;
}
SetOptions(); SetOptions();
_passwordGenerationService.NormalizeOptions(_options, _enforcedPolicyOptions); _passwordGenerationService.NormalizeOptions(_options, _enforcedPolicyOptions);
Password = await _passwordGenerationService.GeneratePasswordAsync(_options); Password = await _passwordGenerationService.GeneratePasswordAsync(_options);