mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
[Bugfix] Allow empty password login screen (#14)
fixes #12, can now log in with only a username Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
a932fa71ff
commit
dddf72241d
1 changed files with 1 additions and 3 deletions
|
|
@ -234,9 +234,7 @@ class _LoginPageState extends ConsumerState<LoginScreen> {
|
|||
}
|
||||
};
|
||||
|
||||
bool emptyFields() {
|
||||
return usernameController.text.isEmpty || passwordController.text.isEmpty;
|
||||
}
|
||||
bool emptyFields() => usernameController.text.isEmpty;
|
||||
|
||||
void retrieveListOfUsers() async {
|
||||
serverTextController.text = serverTextController.text.rtrim('/');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue