Browse Source

Merge remote-tracking branch 'origin/master'

master
MRichter 2 years ago
parent
commit
ebe8dd0b6e
1 changed files with 6 additions and 4 deletions
  1. 6
    4
      src/Credentials.java

+ 6
- 4
src/Credentials.java View File

private String hash; private String hash;


public Credentials(String login, String password) { public Credentials(String login, String password) {
this.hash = Helpers.getHash(password);
this.login = login;
}

public boolean valid() {
for (String line: for (String line:
Helpers.readTextdatei("data/passwd.txt")) { Helpers.readTextdatei("data/passwd.txt")) {
System.out.println(line); System.out.println(line);
} }
}

public boolean valid() {
return false;
return false;
} }
} }

Loading…
Cancel
Save