totp: new crate, sql migration + queries, enable totp page, save secret in database
This commit is contained in:
parent
cb46556717
commit
233e26520c
26 changed files with 1116 additions and 364 deletions
|
|
@ -9,7 +9,9 @@ select id,
|
|||
password_recover,
|
||||
paper_key,
|
||||
is_archived as "is_archived: bool",
|
||||
timezone
|
||||
timezone,
|
||||
totp_secret,
|
||||
totp_backup
|
||||
from users
|
||||
|
||||
where username is (?)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue