Skip to content

Commit

Permalink
data/events: Clarify login_aborted reasons
Browse files Browse the repository at this point in the history
It was a bit ambiguous what field the error codes were mapping to, since
there existed both "reason" and "reason_code". Also, the table is above,
not below.
  • Loading branch information
sirainen committed Aug 9, 2024
1 parent 3983917 commit 44d251e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -1203,14 +1203,14 @@ compiling it at delivery).`
},
inherit: 'pre_login_client',
fields: {
reason: `Short reason; see the short to long reason mapping in the table below.`,
reason: `Short reason; see the short reason to description mapping in the table above.`,
auth_successes: `Number of successful authentications, which eventually failed due to other reasons.`,
auth_attempts: `Total number of authentication attempts, both successful and failed.`,
auth_usecs: `How long ago the first authentication attempt was started.`,
connected_usecs: `How long ago the client connection was created.`,
},
text: `
Error Codes:
\`reason\` values:
| Reason | Description |
| ------ | ----------- |
Expand All @@ -1237,7 +1237,7 @@ Error Codes:
| \`tls_handshake_not_finished\` | TLS handshake failed or was not finished. |
| \`user_disabled\` | User is in deny passdb, or in some other way disabled passdb. |
Proxying error codes:
Proxying \`reason\` values:
| Reason | Description |
| ------ | ----------- |
Expand Down

0 comments on commit 44d251e

Please sign in to comment.