fix(freeradius): add post-auth reason to PostgreSQL queries

- include reason in radpostauth INSERT columns
- store Reply-Message as the authentication reason
This commit is contained in:
2026-09-08 10:31:28 +02:00
parent 20b260a795
commit a656e83473
+2 -1
View File
@@ -732,10 +732,11 @@ post-auth {
query = "\
INSERT INTO ${..postauth_table} \
(username, reply, authdate ${..class.column_name}) \
(username, reply, reason, authdate ${..class.column_name}) \
VALUES(\
'%{User-Name}', \
'%{reply:Packet-Type}', \
'%{reply:Reply-Message}', \
'%S.%M' \
${..class.reply_xlat})"
}