diff --git a/data/web/edit.php b/data/web/edit.php
index e3b863c5..6087a7c6 100644
--- a/data/web/edit.php
+++ b/data/web/edit.php
@@ -424,9 +424,6 @@ if (isset($_SESSION['mailcow_cc_role'])) {
=$lang['user']['spamfilter_wl'];?>
=$lang['user']['spamfilter_wl_desc'];?>
-
=$lang['user']['spamfilter_bl'];?>
=$lang['user']['spamfilter_bl_desc'];?>
-
diff --git a/data/web/inc/functions.inc.php b/data/web/inc/functions.inc.php
index 36bd3e9e..db2b3dfd 100644
--- a/data/web/inc/functions.inc.php
+++ b/data/web/inc/functions.inc.php
@@ -453,7 +453,7 @@ function generate_tlsa_digest($hostname, $port, $starttls = null) {
return 'Error: Cannot read peer certificate';
}
}
-function alertbox_log_parser($_data){
+function alertbox_log_parser($_data) {
global $lang;
if (isset($_data['return'])) {
foreach ($_data['return'] as $return) {
@@ -483,11 +483,10 @@ function alertbox_log_parser($_data){
}
return false;
}
-function verify_salted_hash($hash, $password, $algo, $salt_length)
-{
+function verify_salted_hash($hash, $password, $algo, $salt_length) {
// Decode hash
$dhash = base64_decode($hash);
- // Get first 20 bytes of binary which equals a SSHA hash
+ // Get first n bytes of binary which equals a SSHA hash
$ohash = substr($dhash, 0, $salt_length);
// Remove SSHA hash from decoded hash to get original salt string
$osalt = str_replace($ohash, '', $dhash);
@@ -497,9 +496,7 @@ function verify_salted_hash($hash, $password, $algo, $salt_length)
}
return false;
}
-
-function verify_hash($hash, $password)
-{
+function verify_hash($hash, $password) {
if (preg_match('/^{(.+)}(.+)/i', $hash, $hash_array)) {
$scheme = strtoupper($hash_array[1]);
$hash = $hash_array[2];
diff --git a/data/web/user.php b/data/web/user.php
index cb55a543..ca4ae932 100644
--- a/data/web/user.php
+++ b/data/web/user.php
@@ -517,16 +517,6 @@ elseif (isset($_SESSION['mailcow_cc_role']) && $_SESSION['mailcow_cc_role'] == '
=$lang['user']['spamfilter_wl'];?>
=$lang['user']['spamfilter_wl_desc'];?>
-
-
-
+
+
=$lang['user']['spamfilter_bl'];?>
=$lang['user']['spamfilter_bl_desc'];?>
-
-
-
-
+
+