added deployment via docker compose
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ pub async fn mfa_page(session: Session) -> Template {
|
||||
}
|
||||
|
||||
#[get("/api/totp.jpg")]
|
||||
pub async fn gen_totp(s: Session) -> Option<QrCodeImage> {
|
||||
pub async fn get_totp(s: Session) -> Option<QrCodeImage> {
|
||||
let totp = TOTP::new(
|
||||
Algorithm::SHA1,
|
||||
6,
|
||||
|
||||
Reference in New Issue
Block a user