chore(2FA): rename property to match usage
This commit is contained in:
1 parent
a9a873c293
commit
cbd3aa2719
1 file changed
+2
-2
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user