Aleksander Machniak
2012-11-26 5b06e24265ca9dfcb9ced320b8f78716372fcc56
program/lib/Roundcube/rcube.php
@@ -1220,6 +1220,22 @@
            return $this->user->get_username('mail');
        }
    }
    /**
     * Getter for logged user password.
     *
     * @return string User password
     */
    public function get_user_password()
    {
        if ($this->password) {
            return $this->password;
        }
        else if ($_SESSION['password']) {
            return $this->decrypt($_SESSION['password']);
        }
    }
}