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
|
|
@ -0,0 +1,4 @@
|
|||
alter table users
|
||||
drop column totp_secret;
|
||||
alter table users
|
||||
drop column totp_backup;
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
alter table users
|
||||
add column totp_secret BLOB;
|
||||
alter table users
|
||||
add column totp_backup TEXT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue