TOTP google authenticator implemented properly well
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Run Tests (push) Has been cancelled

This commit is contained in:
Priec
2026-06-20 22:48:15 +02:00
parent b787d48665
commit 5b203ed248
16 changed files with 839 additions and 1 deletions

View File

@@ -26,6 +26,9 @@ pub struct Model {
pub magic_link_expiration: Option<DateTimeWithTimeZone>,
pub theme: String,
pub account_type: String,
pub totp_secret: Option<String>,
pub totp_enabled_at: Option<DateTimeWithTimeZone>,
pub totp_backup_codes: Option<String>,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]