[Revert] Revert: Allow to pass password-encoding for password set request

This commit is contained in:
Robert von Burg 2019-03-22 09:47:30 +01:00
parent c6870cb332
commit 4a54a006f6
2 changed files with 2 additions and 6 deletions

View File

@ -1,7 +1,7 @@
{
"name": "strolch-wc-inspector",
"description": "Strolch WebComponent Inspector",
"version": "0.16.2",
"version": "0.16.3",
"authors": ["Robert von Burg"],
"keywords": [
"strolch",

View File

@ -270,9 +270,6 @@
type: Array,
value: []
},
passwordEncoding: {
type: String
},
searchTerm: {
type: String,
observer: 'searchTermChanged'
@ -374,8 +371,7 @@
this.$.ajax.url = this.basePath + 'rest/strolch/privilege/users/' + this.user.username + '/password';
this.$.ajax.method = 'PUT';
this.$.ajax.body = {
password: btoa(unescape(encodeURIComponent(this.password0))),
encoding: this.passwordEncoding
password: btoa(unescape(encodeURIComponent(this.password0)))
};
this.$.ajax.generateRequest();
},