mirror of
https://github.com/wger-project/flutter.git
synced 2026-12-05 23:44:02 +01:00
Don't check the passwords length
Otherwise it's not possible to login with the default admin password
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user