Allow users to manually setup two factor with secret key (#1071)

* Allow users to manually setup two factor with secret key

* Remove empty lines in markup
This commit is contained in:
Josh 2024-09-29 19:11:43 -05:00 committed by GitHub
parent 528ee8dd17
commit baaee86e67
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 41 additions and 0 deletions

View file

@ -24,6 +24,10 @@ public static class TwoFactorStrings
public static readonly TranslatableString QrTitle = create("qr_title");
public static readonly TranslatableString QrDescription = create("qr_description");
public static readonly TranslatableString QrAlternativeDescription = create("qr_alternative");
public static readonly TranslatableString QrAlternativeCopy = create("qr_alternative_copy");
public static readonly TranslatableString QrAlternativeCopySuccess = create("qr_alternative_copy_success");
public static readonly TranslatableString QrAlternativeCopyFail = create("qr_alternative_copy_success");
private static TranslatableString create(string key) => new(TranslationAreas.TwoFactor, key);
}