mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-06 08:39:06 +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) {
|
if (name.length() > 12) {
|
||||||
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user