mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixing LogOn view syntax errore
--HG-- branch : 1.x
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
@using Orchard.ContentManagement;
|
@using Orchard.ContentManagement
|
||||||
|
|
||||||
@{
|
@{
|
||||||
var userCanRegister = @WorkContext.CurrentSite.As<Orchard.Users.Models.RegistrationSettingsPart>().UsersCanRegister;
|
var userCanRegister = WorkContext.CurrentSite.As<Orchard.Users.Models.RegistrationSettingsPart>().UsersCanRegister;
|
||||||
var enableLostPassword = @WorkContext.CurrentSite.As<Orchard.Users.Models.RegistrationSettingsPart>().EnableLostPassword;
|
var enableLostPassword = WorkContext.CurrentSite.As<Orchard.Users.Models.RegistrationSettingsPart>().EnableLostPassword;
|
||||||
}
|
}
|
||||||
|
|
||||||
<h1 class="page-title">@Html.TitleForPage((string)Model.Title)</h1>
|
<h1 class="page-title">@Html.TitleForPage((string)Model.Title)</h1>
|
||||||
|
|||||||
Reference in New Issue
Block a user