Fixed username
This commit is contained in:
parent
ded0b9042f
commit
66edff8ed5
@ -21,13 +21,13 @@ public class LoginController {
|
|||||||
@FXML
|
@FXML
|
||||||
protected void login(ActionEvent event){
|
protected void login(ActionEvent event){
|
||||||
if(userField.getText().trim().isEmpty()){
|
if(userField.getText().trim().isEmpty()){
|
||||||
userErrLabel.setText("Bitte laginnamen eingeben!");
|
userErrLabel.setText("Bitte Usernamen eingeben!");
|
||||||
passErrLabel.setText("");
|
passErrLabel.setText("");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(passField.getText().trim().isEmpty()){
|
if(passField.getText().trim().isEmpty()){
|
||||||
userErrLabel.setText("");
|
userErrLabel.setText("");
|
||||||
passErrLabel.setText("Bitte passwort eingeben!");
|
passErrLabel.setText("Bitte Passwort eingeben!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user