Hide database password behind a password field
This commit is contained in:
parent
d28316f4a8
commit
96043bd3d3
@ -61,10 +61,10 @@ padding: 0px 0px 0px 0px;
|
||||
margin: 0px 0px 0px 0px;
|
||||
}
|
||||
|
||||
input[type=text] {
|
||||
input[type=text], input[type=password] {
|
||||
border: 1px solid #ACBCBB;
|
||||
}
|
||||
input[type=text]:focus, textarea:focus, select:focus {
|
||||
input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus {
|
||||
border: 1px solid #ACBCBB;
|
||||
box-shadow: 0 0 5px #C091AF;
|
||||
}
|
||||
|
||||
@ -406,7 +406,7 @@ if (! empty($force_install_message))
|
||||
<tr class="hidesqlite">
|
||||
<td class="label" valign="top"><b><?php echo $langs->trans("Password"); ?></b>
|
||||
</td>
|
||||
<td class="label" valign="top"><input type="text" id="db_pass" autocomplete="off"
|
||||
<td class="label" valign="top"><input type="password" id="db_pass" autocomplete="off"
|
||||
name="db_pass"
|
||||
value="<?php
|
||||
//$autofill=((! empty($dolibarr_main_db_pass))?$dolibarr_main_db_pass:$force_install_databasepass);
|
||||
@ -460,7 +460,7 @@ if (! empty($force_install_message))
|
||||
<tr class="hidesqlite hideroot">
|
||||
<td class="label" valign="top"><b><?php echo $langs->trans("Password"); ?></b>
|
||||
</td>
|
||||
<td class="label" valign="top"><input type="text" autocomplete="off"
|
||||
<td class="label" valign="top"><input type="password" autocomplete="off"
|
||||
id="db_pass_root" name="db_pass_root" class="needroot"
|
||||
value="<?php
|
||||
$autofill=((! empty($db_pass_root))?$db_pass_root:$force_install_databaserootpass);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user