mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-06 16:49:07 +00:00
Fixed users being able to make blank passwords (#458)
This commit is contained in:
@@ -191,6 +191,10 @@ public class RS2LoginProtocolDecoder extends CumulativeProtocolDecoder {
|
|||||||
returnCode = 8;
|
returnCode = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (pass.length() == 0) {
|
||||||
|
returnCode = 4;
|
||||||
|
}
|
||||||
|
|
||||||
Client cl = new Client(session, -1);
|
Client cl = new Client(session, -1);
|
||||||
cl.playerName = name;
|
cl.playerName = name;
|
||||||
cl.playerName2 = cl.playerName;
|
cl.playerName2 = cl.playerName;
|
||||||
|
|||||||
Reference in New Issue
Block a user