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