Skip to content

Commit

Permalink
DNN-8509: only show register links if can't register.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben authored and ashishpd committed Mar 14, 2016
1 parent b13533a commit 26b3e10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Website/admin/Skins/UserAndLogin.ascx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
<ul>
<% if (!IsAuthenticated)
{
if (CanRegister)
{
%>
<li class="userRegister"><asp:HyperLink ID="registerLink" runat="server"><% =LocalizeString("Register") %></asp:HyperLink>
<% } %>
<li class="userLogin"><asp:HyperLink ID="loginLink" runat="server"><% =LocalizeString("Login") %></asp:HyperLink>
<% }
else
Expand Down

0 comments on commit 26b3e10

Please sign in to comment.