mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-13 09:41:55 -06:00
fix reset passwrod
The way we store the user object returned from user-find --whoami changed, and this code was not updated
This commit is contained in:
parent
eb6f215246
commit
247e2a263b
@ -194,7 +194,7 @@ function resetpwd_on_click(){
|
||||
|
||||
var user_pkey = $.bbq.getState('user-pkey');
|
||||
var pw_pkey;
|
||||
if (user_pkey === ipa_whoami_pkey){
|
||||
if (user_pkey === IPA.whoami.uid[0]){
|
||||
pw_pkey = [];
|
||||
}else{
|
||||
pw_pkey = [user_pkey];
|
||||
|
Loading…
Reference in New Issue
Block a user