[Revert] Revert: Allow to pass password-encoding for password set request
This commit is contained in:
parent
c6870cb332
commit
4a54a006f6
|
@ -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",
|
||||
|
|
|
@ -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();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue