From 7a11e18b7ee5e2e8618f99ae775795620b3390fb Mon Sep 17 00:00:00 2001 From: Foxocube Date: Sat, 4 Jan 2025 18:08:31 +0000 Subject: [PATCH] Fix login --- .../MediaFeeder/Components/Account/Pages/ExternalLogin.razor | 2 +- .../Components/Account/Shared/ExternalLoginPicker.razor | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MediaFeeder/MediaFeeder/Components/Account/Pages/ExternalLogin.razor b/MediaFeeder/MediaFeeder/Components/Account/Pages/ExternalLogin.razor index 3de6a6c..cd71784 100644 --- a/MediaFeeder/MediaFeeder/Components/Account/Pages/ExternalLogin.razor +++ b/MediaFeeder/MediaFeeder/Components/Account/Pages/ExternalLogin.razor @@ -9,7 +9,7 @@ @using Microsoft.AspNetCore.WebUtilities @attribute [IgnoreAntiforgeryToken] @attribute [AllowAnonymous] -@rendermode InteractiveServer +@rendermode @(new InteractiveServerRenderMode(prerender: true)) @inject SignInManager SignInManager @inject UserManager UserManager diff --git a/MediaFeeder/MediaFeeder/Components/Account/Shared/ExternalLoginPicker.razor b/MediaFeeder/MediaFeeder/Components/Account/Shared/ExternalLoginPicker.razor index 23fda2a..ecedd46 100644 --- a/MediaFeeder/MediaFeeder/Components/Account/Shared/ExternalLoginPicker.razor +++ b/MediaFeeder/MediaFeeder/Components/Account/Shared/ExternalLoginPicker.razor @@ -3,7 +3,7 @@ @using Microsoft.AspNetCore.Identity @inject SignInManager SignInManager @inject IdentityRedirectManager RedirectManager -@rendermode InteractiveServer +@rendermode @(new InteractiveServerRenderMode(prerender: true))