Rank: Administration Groups: Member
Joined: 3/24/2008 Posts: 2,871 Points: 5,789 Location: South Florida USA
|
How to check if user is authenticated in Razor pages of .Net Core 2.0 https://stackoverflow.com/questions/45888275/how-to-check-if-user-is-authenticated-in-razor-pages-of-net-core-2-0?rq=1Code: @if (User.Identity.IsAuthenticated) { } else { }
|