From 88d5a1de8622940f621ea2a3f542b73309ee0cc3 Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Wed, 23 Aug 2023 13:32:23 +0200 Subject: [PATCH] Improved totp setup --- Moonlight/Pages/_Layout.cshtml | 1 + Moonlight/Shared/Views/Profile/Security.razor | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Moonlight/Pages/_Layout.cshtml b/Moonlight/Pages/_Layout.cshtml index f60fc1e6..c840ed2c 100644 --- a/Moonlight/Pages/_Layout.cshtml +++ b/Moonlight/Pages/_Layout.cshtml @@ -109,6 +109,7 @@ + diff --git a/Moonlight/Shared/Views/Profile/Security.razor b/Moonlight/Shared/Views/Profile/Security.razor index 2791c608..994699fb 100644 --- a/Moonlight/Shared/Views/Profile/Security.razor +++ b/Moonlight/Shared/Views/Profile/Security.razor @@ -159,6 +159,9 @@ } +
+ @(IdentityService.User.TotpSecret) +