mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Code review feedback
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4040237
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Orchard.Users.Services {
|
||||
return _modelManager.Get(userRecord.Id).As<IUser>();
|
||||
}
|
||||
|
||||
public IUser Identify(string username, string password) {
|
||||
public IUser ValidateUser(string username, string password) {
|
||||
return GetUser(username);
|
||||
}
|
||||
}
|
||||
|
@@ -13,7 +13,7 @@
|
||||
|
||||
<%if (Model.AdminMenu != null) {
|
||||
foreach (var menuSection in Model.AdminMenu) {%>
|
||||
<div class="leftNavMod"><h4><%=Html.Encode(menuSection.Text)%></h4><ul><%foreach (var menuItem in menuSection.Contained) { %>
|
||||
<div class="leftNavMod"><h4><%=Html.Encode(menuSection.Text)%></h4><ul><%foreach (var menuItem in menuSection.Items) { %>
|
||||
<li><%=Html.ActionLink(menuItem.Text, (string)menuItem.RouteValues["action"], menuItem.RouteValues)%></li>
|
||||
<%} %></ul></div>
|
||||
<%
|
||||
|
Reference in New Issue
Block a user