Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zeruniverse committed Aug 9, 2015
1 parent 4448308 commit ddf22d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/password.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function showtable(secretkey0)
passarray[x]=encryptchar(decryptchar(temps,secretkey),newsecretkey);
}
$.post("changeuserpw.php",{newpass:postnewpass, passarray:JSON.stringify(passarray), accarray:JSON.stringify(accarray)},function(msg){
if(msg==1) {alert("Change Password Successfully! Please login again.");quitpwd('<?php echo $usr; ?>');} else alert("Fail to change your password, please try again.");
if(msg==1) {alert("Change Password Successfully! Please login again.");quitpwd();} else alert("Fail to change your password, please try again.");
});
}
});
Expand Down

0 comments on commit ddf22d5

Please sign in to comment.