From cbd3aa2719e724fba949744f35135973fa08d27e Mon Sep 17 00:00:00 2001 From: "Rudy B." Date: Sat, 25 Apr 2026 12:27:25 +0200 Subject: [PATCH] chore(2FA): rename property to match usage --- src/lib/two-factor/totp.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/two-factor/totp.ts b/src/lib/two-factor/totp.ts index b5cbe6c48..a49f910cb 100644 --- a/src/lib/two-factor/totp.ts +++ b/src/lib/two-factor/totp.ts @@ -5,10 +5,10 @@ export function generateTotpSecret(): string { return generateSecret(); } -export function generateOtpAuthUri(secret: string, userEmail: string): string { +export function generateOtpAuthUri(secret: string, username: string): string { return generateURI({ issuer: 'Umami', - label: userEmail, + label: username, secret, }); }