mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-22 00:18:28 +00:00
Default Settings: Obfuscate sensitive values.
This commit is contained in:
@@ -403,10 +403,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
}
|
||||
echo " </select>\n";
|
||||
}
|
||||
elseif ($category == "email" && $subcategory == "smtp_password" && $name == "var" ) {
|
||||
echo " <input class='formfld' type='password' name='default_setting_value' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" maxlength='255' value=\"".$default_setting_value."\">\n";
|
||||
}
|
||||
elseif ($category == "provision" && $subcategory == "password" && $name == "var" ) {
|
||||
elseif (substr_count(strtolower($subcategory), '_password') > 0 || $category == "login" && $subcategory == "password_reset_key" && $name == "text") {
|
||||
echo " <input class='formfld' type='password' name='default_setting_value' onmouseover=\"this.type='text';\" onfocus=\"this.type='text';\" onmouseout=\"if (!$(this).is(':focus')) { this.type='password'; }\" onblur=\"this.type='password';\" maxlength='255' value=\"".$default_setting_value."\">\n";
|
||||
}
|
||||
elseif (
|
||||
|
||||
Reference in New Issue
Block a user