Skip to content

Commit

Permalink
Minor Bug fixes introduced in 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MrThanasiz committed Jun 12, 2019
1 parent 95ebfd4 commit 461c91a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/HomeFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.URL;
import java.util.Arrays;


@SuppressWarnings("serial")
Expand Down Expand Up @@ -221,7 +222,7 @@ public static String getUsername() {
}

public static String getPasswordHF() {
return password.getPassword().toString();
return String.valueOf(password.getPassword());
}


Expand All @@ -242,6 +243,7 @@ public void actionPerformed(ActionEvent e) {

username = HomeFrame.getUsername();
password = HomeFrame.getPasswordHF();
System.out.println("pass="+password);

CentralRegistry.desirializeUsers();

Expand Down
4 changes: 2 additions & 2 deletions src/RegisterFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public static JButton getRegisterButton() {
}

public static String getPassword() {
return password.getPassword().toString();
return String.valueOf(password.getPassword());
}


Expand All @@ -230,7 +230,7 @@ public static String getUsername() {
}

public static String getPasswordRF() {
return password.getPassword().toString();
return String.valueOf(password.getPassword());
}

public static String getDepString() {
Expand Down

0 comments on commit 461c91a

Please sign in to comment.