Skip to content

Commit ae715c9

Browse files
authored
Missing change.
1 parent d33515b commit ae715c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWeb-CSharp/Components/Account/IdentityRedirectManager.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ internal sealed class IdentityRedirectManager(NavigationManager navigationManage
77
{
88
public const string StatusCookieName = "Identity.StatusMessage";
99

10+
private const string _enableThrowNavigationException = "Microsoft.AspNetCore.Components.Endpoints.NavigationManager.EnableThrowNavigationException";
11+
1012
[FeatureSwitchDefinition("Microsoft.AspNetCore.Components.Endpoints.NavigationManager.EnableThrowNavigationException")]
1113
private static bool _throwNavigationException =>
1214
AppContext.TryGetSwitch(_enableThrowNavigationException, out var switchValue) && switchValue;

0 commit comments

Comments
 (0)