Port 7.7 - WIP

This commit is contained in:
Stephan
2017-08-14 18:21:48 +02:00
parent 1a40dd8d78
commit ab8fc33691
435 changed files with 15298 additions and 5993 deletions

View File

@@ -112,16 +112,14 @@ angular.module("umbraco")
/* ---------- UPDATE PASSWORD ---------- */
//create the initial model for change password property editor
//create the initial model for change password
$scope.changePasswordModel = {
alias: "_umb_password",
view: "changepassword",
config: {},
value: {}
};
//go get the config for the membership provider and add it to the model
currentUserResource.getMembershipProviderConfig().then(function(data) {
authResource.getMembershipProviderConfig().then(function(data) {
$scope.changePasswordModel.config = data;
//ensure the hasPassword config option is set to true (the user of course has a password already assigned)
//this will ensure the oldPassword is shown so they can change it