chore(2FA): rename property to match usage

This commit is contained in:
Rudy B. committed 2026-04-25 12:27:25 +02:00
1 parent a9a873c293
commit cbd3aa2719
1 file changed
+2 -2
+2 -2
View File
@@ -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,
});
}