Improve Principal handling for OIDC and resolve Logout issue (caused by AntiForgeryToken)
This commit is contained in:
		| @ -10,7 +10,7 @@ namespace Oqtane.Pages | ||||
|     [AllowAnonymous] | ||||
|     public class LogoutModel : PageModel | ||||
|     { | ||||
|         public async Task<IActionResult> OnPostAsync(string returnurl) | ||||
|         public async Task<IActionResult> OnGetAsync(string returnurl) | ||||
|         { | ||||
|             if (HttpContext.User.Identity.IsAuthenticated) | ||||
|             { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker