mirror of
https://github.com/zoriya/Aeris.git
synced 2026-06-01 18:35:45 +00:00
Merge pull request #121 from AnonymusRaccoon/mobile_client_last_stuff
Mobile Client: fix password rule
This commit is contained in:
@@ -60,7 +60,11 @@ class LoginPage extends StatelessWidget {
|
||||
onSignup: _signupUser,
|
||||
userType: LoginUserType.name,
|
||||
userValidator: (input) {
|
||||
if (input == null || input.trim().length < 4) return "Must be at least 4 chars long";
|
||||
if (input == null || input.trim().isEmpty) return "Must be at least 1 char long";
|
||||
return null;
|
||||
},
|
||||
passwordValidator: (input) {
|
||||
if (input == null || input.trim().isEmpty) return "Must be at least 1 char long";
|
||||
return null;
|
||||
},
|
||||
onSubmitAnimationCompleted: () {
|
||||
|
||||
Reference in New Issue
Block a user