mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-08 23:18:16 -07: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() {
|
bool emptyFields() => usernameController.text.isEmpty;
|
||||||
return usernameController.text.isEmpty || passwordController.text.isEmpty;
|
|
||||||
}
|
|
||||||
|
|
||||||
void retrieveListOfUsers() async {
|
void retrieveListOfUsers() async {
|
||||||
serverTextController.text = serverTextController.text.rtrim('/');
|
serverTextController.text = serverTextController.text.rtrim('/');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue