Asp.net LoginStatus - 'log out' is shown but not logged in yet

Why does my loginStatus show "log off" even though I have not logged in yet?

<asp:LoginStatus ID="LoginStatus1" runat="server" LoginText="Log In" LogoutText="Log Out" LogoutPageUrl="~/Default.aspx" LogoutAction="Redirect" /> 
+4
source share
1 answer

Check authentication mode in web.config. It can be installed in Windows to change it to Forms.

+1
source

Source: https://habr.com/ru/post/1305050/


All Articles