From 069aea5989ec7fe4090cf3f1151f99476fa038be Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 13 Aug 2018 15:59:24 +0300 Subject: remove FEED_CRYPT_KEY and everything related to it always assume auth_pass_encrypted is false --- classes/pref/feeds.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'classes/pref/feeds.php') diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php index 459fbbe2a..4c9574cd2 100755 --- a/classes/pref/feeds.php +++ b/classes/pref/feeds.php @@ -513,8 +513,6 @@ class Pref_Feeds extends Handler_Protected { print '
'; - $auth_pass_encrypted = $row["auth_pass_encrypted"]; - $title = htmlspecialchars($row["title"]); print_hidden("id", "$feed_id"); @@ -615,14 +613,8 @@ class Pref_Feeds extends Handler_Protected { print "
"; $auth_login = htmlspecialchars($row["auth_login"]); - $auth_pass = $row["auth_pass"]; - - if ($auth_pass_encrypted && function_exists("mcrypt_decrypt")) { - require_once "crypt.php"; - $auth_pass = decrypt_string($auth_pass); - } + $auth_pass = htmlspecialchars($row["auth_pass"]); - $auth_pass = htmlspecialchars($auth_pass); $auth_enabled = $auth_login !== '' || $auth_pass !== ''; $auth_style = $auth_enabled ? '' : 'display: none'; -- cgit v1.2.3-54-g00ecf