mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-12-06 03:07:18 +00:00
Fixed users being able to make blank passwords (#458)
This commit is contained in:
1 parent
3ade7141a6
commit
90b36be5ae
1 file changed
+4
@@ -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