From a4dc73c6a7ec3c9f21c550b1f8c8e3ee86b99286 Mon Sep 17 00:00:00 2001 From: Boris Gulay Date: Sat, 22 Dec 2018 16:36:55 +0300 Subject: [PATCH] Fix password saving. --- ident_switch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ident_switch.php b/ident_switch.php index 2fefe7f..8143651 100644 --- a/ident_switch.php +++ b/ident_switch.php @@ -481,8 +481,8 @@ class ident_switch extends rcube_plugin if ($sql) { // Do we need to update pwd? - if ($data['pass'] != $r['password']) - $data['pass'] = $rc->encrypt($data['pass']); + if ($data['imap.pass'] != $r['password']) + $data['imap.pass'] = $rc->encrypt($data['imap.pass']); $rc->db->query( $sql,