switch(intf->type) {
case INTF_HTTP_AUTH:
if (spamreport_prefs.user[id] && *(spamreport_prefs.user[id])) {
- gchar *pass = password_decrypt(spamreport_prefs.pass[id], NULL);
+ gchar *pass = spamreport_passwd_get(spam_interfaces[id].name);
auth = g_strdup_printf("%s:%s", spamreport_prefs.user[id], (pass != NULL ? pass : ""));
if (pass != NULL) {
memset(pass, 0, strlen(pass));
return VERSION;
}
-void plugin_master_passphrase_change (const gchar *oldp, const gchar *newp)
-{
- spamreport_master_passphrase_change(oldp, newp);
-}
-
struct PluginFeature *plugin_provides(void)
{
static struct PluginFeature features[] =