3.87.2. UpdateQuery Previous topic Parent topic Child topic Next topic

UpdateQuery is an SQL query that updates the HOTP data in the SQL database. After a successful authentication it will be passed the new authentication counter high in %0, new authentication counter low in %1, bad login count in %2, the user name in %3, The default works with the sample database schema provided in goodies/hotp.sql. The default is:
update hotpkeys set accessed=now(), counter_high=%0,
counter_low=%1, bad_logins=%2 where username=%3