Don't remove spaces from static password

This commit is contained in:
Dain Nilsson 2024-02-12 13:34:19 +01:00
parent 9c25881766
commit f03054886e
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8

View File

@ -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 =