I want my login page to be SSL only:
[RequireHttps] public ActionResult Login() { if (Helper.LoggedIn) { Response.Red
public static void RegisterGlobalFilters(GlobalFilterCollection filters) { if (!HttpContext.Current.IsDebuggingEnabled) { filters.Add(new RequireHttpsAttribute()); } }