mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fixing the issue in resetting the password for the email user - https://github.com/wso2/product-iots/issues/609.
This commit is contained in:
parent
778528e9c8
commit
f08ade1a40
@ -157,7 +157,7 @@ function resetPassword(username) {
|
||||
domain = username.substr(0, username.indexOf('/'));
|
||||
username = username.substr(username.indexOf('/') + 1);
|
||||
}
|
||||
var resetPasswordServiceURL = apiBasePath + "/admin/users/" + username + "/credentials";
|
||||
var resetPasswordServiceURL = apiBasePath + "/admin/users/" + encodeURIComponent(username) + "/credentials";
|
||||
if (domain) {
|
||||
resetPasswordServiceURL += '?domain=' + encodeURIComponent(domain);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user