This commit is contained in:
Milo Schwartz
2024-10-26 17:01:34 -04:00
parent d78312fad8
commit 50d374d9f6
8 changed files with 1735 additions and 21 deletions

View File

@@ -65,7 +65,7 @@ export async function requestTotpSecret(
const hex = crypto.getRandomValues(new Uint8Array(20));
const secret = encodeHex(hex);
const uri = createTOTPKeyURI(config.app.name, user.email, hex);
const uri = createTOTPKeyURI("Pangolin", user.email, hex);
await db
.update(users)