Skip to content

Commit

Permalink
[FIXED] logout button
Browse files Browse the repository at this point in the history
  • Loading branch information
w8tcha committed May 8, 2024
1 parent 70ffd60 commit 35dd53a
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 4 deletions.
46 changes: 46 additions & 0 deletions YAF.SampleWebApplication/Forum/Scripts/forumAdminExtensions.js

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions YAF.SampleWebApplication/Forum/Scripts/forumExtensions.js

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions YAF.SampleWebApplication/Site.Master
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@
</AnonymousTemplate>
<LoggedInTemplate>
Welcome &nbsp;<span class="fw-bold"><asp:LoginName ID="HeadLoginName" runat="server" /></span>&nbsp;
<asp:LoginStatus ID="HeadLoginStatus" runat="server"
LogoutAction="Redirect"
LogoutText="Log Out"
CssClass="btn btn-outline-success my-2 my-sm-0" LogoutPageUrl="~/"/>
<a class="btn btn-outline-success my-2 my-sm-0" href="javascript:LogOutClick()">Log Out</a>
</LoggedInTemplate>
</asp:LoginView>
</div>
Expand Down

0 comments on commit 35dd53a

Please sign in to comment.