typo
This commit is contained in:
parent
a1ef8f669d
commit
0803abcf53
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ function settings_post(&$a) {
|
|||
}
|
||||
if(strlen($mail_pass)) {
|
||||
$pass = '';
|
||||
openssl(private_encrypt($mail_pass,$pass,$a->user['pubkey']));
|
||||
openssl_public_encrypt($mail_pass,$pass,$a->user['pubkey']));
|
||||
q("UPDATE `mailacct` SET `pass` = '%s' WHERE `uid` = %d LIMIT 1",
|
||||
dbesc(hex2bin($pass)),
|
||||
intval(local_user())
|
||||
|
|
Loading…
Reference in a new issue