kopia lustrzana https://github.com/friendica/friendica
bin2hex not vice versa
rodzic
6e6d143aab
commit
1d4791d38c
|
@ -97,7 +97,7 @@ function settings_post(&$a) {
|
|||
$pass = '';
|
||||
openssl_public_encrypt($mail_pass,$pass,$a->user['pubkey']);
|
||||
q("UPDATE `mailacct` SET `pass` = '%s' WHERE `uid` = %d LIMIT 1",
|
||||
dbesc(hex2bin($pass)),
|
||||
dbesc(bin2hex($pass)),
|
||||
intval(local_user())
|
||||
);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue