summaryrefslogtreecommitdiff
path: root/classes/pref
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-08-13 15:59:24 +0300
committerAndrew Dolgov <[email protected]>2018-08-13 15:59:24 +0300
commit069aea5989ec7fe4090cf3f1151f99476fa038be (patch)
tree23c48c13d8baf5d9dc72e2c7fe6615e2ae32d6c6 /classes/pref
parenteb43d9f4a8a8609b7f30ef4e2add425b9c91fe00 (diff)
remove FEED_CRYPT_KEY and everything related to it
always assume auth_pass_encrypted is false
Diffstat (limited to 'classes/pref')
-rwxr-xr-xclasses/pref/feeds.php10
1 files changed, 1 insertions, 9 deletions
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 '<div dojoType="dijit.layout.TabContainer" style="height : 450px">
<div dojoType="dijit.layout.ContentPane" title="'.__('General').'">';
- $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 "</div>";
$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';