Closed ghost closed 9 months ago
Unfortunately, due to the way it is coded and the way it renders the input lines from the database, it cannot be changed in the manner you describe. Will look into it some more.
In this file: https://github.com/sentora/sentora-core/blob/master/modules/sentoraconfig/code/controller.ext.php Between line 51 and 52 add:
if (strpos(ctrl_options::OutputSettingTextArea($rowsettings['so_name_vc']),'smtp_password') !== false) {
$fieldhtml = '<input type="password" name="smtp_password" value="'.$rowsettings['so_value_tx'].'">';
}
It should look like this when done:
}
if (strpos(ctrl_options::OutputSettingTextArea($rowsettings['so_name_vc']),'smtp_password') !== false) {
$fieldhtml = '<input type="password" name="smtp_password" value="'.$rowsettings['so_value_tx'].'">';
}
array_push($res, array('cleanname' => ui_language::translate($rowsettings['so_cleanname_vc']),
Give it a test. Update pushed to master: https://github.com/sentora/sentora-core/blob/master/modules/sentoraconfig/code/controller.ext.php
@TGates71 , @MBlagui , Any updates on this?
Was completed 9 years ago.
SMTP Pass field is textarea instead of input with password type.
Change:
To: