#19156: Removing WindowsIdentity verification

Work Item: 19156

--HG--
branch : 1.x
This commit is contained in:
Sebastien Ros
2012-10-18 11:46:05 -07:00
parent 76c203dd14
commit f00a67f746

View File

@@ -325,12 +325,6 @@ namespace Orchard.Users.Controllers {
return RedirectToAction("ChallengeEmailFail"); return RedirectToAction("ChallengeEmailFail");
} }
protected override void OnActionExecuting(ActionExecutingContext filterContext) {
if (filterContext.HttpContext.User.Identity is WindowsIdentity) {
throw new InvalidOperationException(T("Windows authentication is not supported.").ToString());
}
}
#region Validation Methods #region Validation Methods
private bool ValidateChangePassword(string currentPassword, string newPassword, string confirmPassword) { private bool ValidateChangePassword(string currentPassword, string newPassword, string confirmPassword) {
if ( String.IsNullOrEmpty(currentPassword) ) { if ( String.IsNullOrEmpty(currentPassword) ) {