Skip to content

Commit 35dd53a

Browse files
committed
[FIXED] logout button
1 parent 70ffd60 commit 35dd53a

3 files changed

Lines changed: 93 additions & 4 deletions

File tree

YAF.SampleWebApplication/Forum/Scripts/forumAdminExtensions.js

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

YAF.SampleWebApplication/Forum/Scripts/forumExtensions.js

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

YAF.SampleWebApplication/Site.Master

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,7 @@
4747
</AnonymousTemplate>
4848
<LoggedInTemplate>
4949
Welcome &nbsp;<span class="fw-bold"><asp:LoginName ID="HeadLoginName" runat="server" /></span>&nbsp;
50-
<asp:LoginStatus ID="HeadLoginStatus" runat="server"
51-
LogoutAction="Redirect"
52-
LogoutText="Log Out"
53-
CssClass="btn btn-outline-success my-2 my-sm-0" LogoutPageUrl="~/"/>
50+
<a class="btn btn-outline-success my-2 my-sm-0" href="javascript:LogOutClick()">Log Out</a>
5451
</LoggedInTemplate>
5552
</asp:LoginView>
5653
</div>

0 commit comments

Comments
 (0)