mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 10:11:52 +03:00
Don't remove spaces from static password
This commit is contained in:
parent
9c25881766
commit
f03054886e
@ -83,7 +83,7 @@ class _ConfigureStaticDialogState extends ConsumerState<ConfigureStaticDialog> {
|
||||
Widget build(BuildContext context) {
|
||||
final l10n = AppLocalizations.of(context)!;
|
||||
|
||||
final password = _passwordController.text.replaceAll(' ', '');
|
||||
final password = _passwordController.text;
|
||||
final passwordLengthValid =
|
||||
password.isNotEmpty && password.length <= passwordMaxLength;
|
||||
final passwordFormatValid =
|
||||
|
Loading…
Reference in New Issue
Block a user