Bug fixes:
- Fix re-hashing an already hashed password in UpdateUserRecord
- Fix validator incorrectly flagging swift client name
- Switched a > to a < when checking field length for #TM packets

Misc:
- Simplify client reader goroutine
- Simplify client writer logic

Features:
- Add an option to enable plaintext passwords (replacing the JWT token in the AddPilotPDU `token` field.)
This commit is contained in:
Reese Norris
2024-09-14 12:20:34 -07:00
parent 257d891df5
commit de94e668f0
12 changed files with 274 additions and 277 deletions

View File

@@ -104,7 +104,7 @@ func GetProcessor(rawPacket string) (Processor, error) {
return PlaneInfoResponseProcessor, nil
}
case "#TM":
if len(fields) > 3 {
if len(fields) < 3 {
return nil, InvalidPacketError
}
switch fields[1] {