forked from github/server
eine warnung für falsche passworte
This commit is contained in:
parent
6412d51e0a
commit
c9fb1b647e
|
@ -566,6 +566,7 @@ factionorders(void)
|
|||
f->mistakes = 0;
|
||||
|
||||
if (checkpasswd(f, pass, true) == false) {
|
||||
log_warning(("Invalid password for faction %s\n", fid));
|
||||
addstrlist(&f->mistakes, "Das Passwort wurde falsch eingegeben");
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue