Join GitHub today
[#7205] Check on wrong CONNECT packet with password but without username #7206
Added checking on password set but username not in the CONNECT encoding method
Changed the way how hasUsername and hasPassword are set in the CONNECT packet
Explain here the context, and why you're making that change.
Describe the modifications you've done.
If there is no issue then describe the changes introduced by this PR.