From 4123cef49937886137ea56ec977ee1d69f7ffbef Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Fri, 27 Nov 2020 15:41:15 +0100 Subject: [PATCH] Don't check the passwords length Otherwise it's not possible to login with the default admin password --- lib/screens/auth_screen.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/screens/auth_screen.dart b/lib/screens/auth_screen.dart index 17ebee1b1..45cd46a61 100644 --- a/lib/screens/auth_screen.dart +++ b/lib/screens/auth_screen.dart @@ -222,9 +222,11 @@ class _AuthCardState extends State { controller: _passwordController, textInputAction: TextInputAction.next, validator: (value) { + /* if (value.isEmpty || value.length < 8) { return 'Password is too short!'; } + */ return null; }, onSaved: (value) {