Don't check the passwords length

Otherwise it's not possible to login with the default admin password
This commit is contained in:
Roland Geider
2020-11-27 15:41:15 +01:00
parent 2a9d0ce0e4
commit 4123cef499

View File

@@ -222,9 +222,11 @@ class _AuthCardState extends State<AuthCard> {
controller: _passwordController,
textInputAction: TextInputAction.next,
validator: (value) {
/*
if (value.isEmpty || value.length < 8) {
return 'Password is too short!';
}
*/
return null;
},
onSaved: (value) {