Skip to content

Commit

Permalink
fix: handle client login request for servers with password
Browse files Browse the repository at this point in the history
  • Loading branch information
fantinodavide committed Jan 4, 2024
1 parent b4c42d0 commit 8fcce1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion squad-server/log-parser/login-request.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
regex:
/^\[([0-9.:-]+)]\[([ 0-9]*)]LogNet: Login request: \?Name=(.+) userId: RedpointEOS:([\da-f]{32}) platform: RedpointEOS/,
/^\[([0-9.:-]+)]\[([ 0-9]*)]LogNet: Login request: \?Name=(.+?)(?:\?PASSWORD=(?:.+?))? userId: RedpointEOS:([\da-f]{32}) platform: RedpointEOS/,
onMatch: (args, logParser) => {
const data = {
raw: args[0],
Expand Down

0 comments on commit 8fcce1a

Please sign in to comment.