mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-26 06:53:16 +00:00
remove superfluous password popup in jappixmini
This commit is contained in:
parent
90289ef561
commit
247c894ed5
1 changed files with 5 additions and 2 deletions
|
@ -263,9 +263,12 @@ function jappixmini_settings(&$a, &$s) {
|
||||||
clear_password = document.getElementById('jappixmini-clear-password');
|
clear_password = document.getElementById('jappixmini-clear-password');
|
||||||
if (encrypt) {
|
if (encrypt) {
|
||||||
friendica_password = document.getElementById('jappixmini-friendica-password');
|
friendica_password = document.getElementById('jappixmini-friendica-password');
|
||||||
|
|
||||||
|
if (friendica_password) {
|
||||||
jappixmini_addon_set_client_secret(friendica_password.value);
|
jappixmini_addon_set_client_secret(friendica_password.value);
|
||||||
password.value = jappixmini_addon_encrypt_password(clear_password.value);
|
password.value = jappixmini_addon_encrypt_password(clear_password.value);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else {
|
else {
|
||||||
password.value = clear_password.value;
|
password.value = clear_password.value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue