blob: c4ce096dd6c8c6f17746afb3e420b35b135a1fe2 [file] [log] [blame]
query = "\
SELECT TIME_TO_SEC(TIMEDIFF(NOW(), acctstarttime)) \
FROM radacct \
WHERE UserName='%{${key}}' \
ORDER BY acctstarttime \
LIMIT 1;"