3.88.2. UpdateQuery Previous topic Parent topic Child topic Next topic

UpdateQuery is an SQL query that updates the TOTP data in the SQL database. After a successful authentication it will be passed the bad login count in %0, the user name in %1. The default works with the sample database schema provided in goodies/totp.sql. The default is:
update totpkeys set accessed=now(), bad_logins=%0 where username=%1