removes more membership provider and System.Web.Security from being used in the back office

This commit is contained in:
Shannon
2019-12-03 16:16:33 +11:00
parent d7fa5f0b66
commit 97ad7a0239
19 changed files with 98 additions and 259 deletions

View File

@@ -80,11 +80,7 @@
}));
unsubscribe.push($scope.$on("formSubmitting", function () {
//if there was a previously generated password displaying, clear it
if (vm.changing && vm.passwordValues) {
vm.passwordValues.generatedPassword = null;
}
else if (!vm.changing) {
if (!vm.changing) {
//we are not changing, so the model needs to be null
vm.passwordValues = null;
}
@@ -105,8 +101,6 @@
function doChange() {
resetModel();
vm.changing = true;
//if there was a previously generated password displaying, clear it
vm.passwordValues.generatedPassword = null;
vm.passwordValues.confirm = null;
};

View File

@@ -41,7 +41,7 @@
if (!model) {
return null;
}
var trimmed = _.omit(model, ["confirm", "generatedPassword"]);
var trimmed = _.omit(model, ["confirm"]);
//ensure that the pass value is null if all child properties are null
var allNull = true;

View File

@@ -141,11 +141,6 @@ angular.module("umbraco")
//reset old data
clearPasswordFields();
//if the password has been reset, then update our model
if (data.value) {
$scope.changePasswordModel.value.generatedPassword = data.value;
}
formHelper.resetForm({ scope: $scope });
$scope.changePasswordButtonState = "success";