Skip to content

Commit 79466d4

Browse files
committed
[FIXED] login box
1 parent 80a6457 commit 79466d4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

YAF.SampleApp/Areas/Forums/Pages/Shared/_LoginBox.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<a button-style="Secondary"
7070
button-size="Small"
7171
Icon="key"
72-
href="@Html.Raw(Current.Get<LinkBuilder>().GetLink(ForumPages.Account_ForgotPassword))"
72+
href="@Html.Raw(Current.Get<ILinkBuilder>().GetLink(ForumPages.Account_ForgotPassword))"
7373
text-localized-tag="LOSTPASSWORD"></a>
7474
</div>
7575
</div>
@@ -120,7 +120,7 @@
120120
<a button-size="Small"
121121
button-style="OutlineSecondary"
122122
Icon="user-plus"
123-
href="@Html.Raw(Current.Get<LinkBuilder>().GetLink(Current.BoardSettings.ShowRulesForRegistration ? ForumPages.Privacy : ForumPages.Account_Register))"
123+
href="@Html.Raw(Current.Get<ILinkBuilder>().GetLink(Current.BoardSettings.ShowRulesForRegistration ? ForumPages.Privacy : ForumPages.Account_Register))"
124124
text-localized-tag="REGISTER_INSTEAD"></a>
125125
</div>
126126
}

YAF.SampleApp/Pages/Shared/_LoginBox.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<a button-style="Secondary"
7070
button-size="Small"
7171
Icon="key"
72-
href="@Html.Raw(Current.Get<LinkBuilder>().GetLink(ForumPages.Account_ForgotPassword))"
72+
href="@Html.Raw(Current.Get<ILinkBuilder>().GetLink(ForumPages.Account_ForgotPassword))"
7373
text-localized-tag="LOSTPASSWORD"></a>
7474
</div>
7575
</div>
@@ -120,7 +120,7 @@
120120
<a button-size="Small"
121121
button-style="OutlineSecondary"
122122
Icon="user-plus"
123-
href="@Html.Raw(Current.Get<LinkBuilder>().GetLink(Current.BoardSettings.ShowRulesForRegistration ? ForumPages.Privacy : ForumPages.Account_Register))"
123+
href="@Html.Raw(Current.Get<ILinkBuilder>().GetLink(Current.BoardSettings.ShowRulesForRegistration ? ForumPages.Privacy : ForumPages.Account_Register))"
124124
text-localized-tag="REGISTER_INSTEAD"></a>
125125
</div>
126126
}

0 commit comments

Comments
 (0)