mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-09 09:40:57 +00:00
Merge branch 'password-fix-hotfix' into 'master'
Password fix hotfix See merge request STJr/SRB2!261
This commit is contained in:
commit
8d54d8adaa
1 changed files with 3 additions and 3 deletions
|
@ -2730,15 +2730,15 @@ static void Got_Login(UINT8 **cp, INT32 playernum)
|
||||||
|
|
||||||
READMEM(*cp, sentmd5, 16);
|
READMEM(*cp, sentmd5, 16);
|
||||||
|
|
||||||
|
if (client)
|
||||||
|
return;
|
||||||
|
|
||||||
if (!adminpasswordset)
|
if (!adminpasswordset)
|
||||||
{
|
{
|
||||||
CONS_Printf(M_GetText("Password from %s failed (no password set).\n"), player_names[playernum]);
|
CONS_Printf(M_GetText("Password from %s failed (no password set).\n"), player_names[playernum]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (client)
|
|
||||||
return;
|
|
||||||
|
|
||||||
// Do the final pass to compare with the sent md5
|
// Do the final pass to compare with the sent md5
|
||||||
D_MD5PasswordPass(adminpassmd5, 16, va("PNUM%02d", playernum), &finalmd5);
|
D_MD5PasswordPass(adminpassmd5, 16, va("PNUM%02d", playernum), &finalmd5);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue