mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-14 19:04:51 +08:00
#19156: Removing WindowsIdentity verification
Work Item: 19156 --HG-- branch : 1.x
This commit is contained in:
@@ -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) ) {
|
||||||
|
Reference in New Issue
Block a user