Admin auth functionally complete
This commit is contained in:
@@ -6,7 +6,6 @@ using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Web.Mvc;
|
||||
using MileageTraker.Web.Models;
|
||||
|
||||
namespace MileageTraker.Web.Utility
|
||||
{
|
||||
@@ -182,11 +181,5 @@ namespace MileageTraker.Web.Utility
|
||||
Convert.ToDouble(
|
||||
System.Web.Security.Membership.UserIsOnlineTimeWindow)));
|
||||
}
|
||||
|
||||
public static bool IsOnline(this User user)
|
||||
{
|
||||
return user.LastActivityDate != null
|
||||
&& user.LastActivityDate > UserOnlineThreshold();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user