Fix autofill pass
This commit is contained in:
parent
30b55ef038
commit
5cbdad7fa7
@ -407,8 +407,7 @@ if (!empty($force_install_noedit)) {
|
|||||||
<input type="password"
|
<input type="password"
|
||||||
id="db_pass" autocomplete="off"
|
id="db_pass" autocomplete="off"
|
||||||
name="db_pass"
|
name="db_pass"
|
||||||
value="
|
value="<?php
|
||||||
<?php
|
|
||||||
// If $force_install_databasepass is on, we don't want to set password, we just show '***'. Real value will be extracted from the forced install file at step1.
|
// If $force_install_databasepass is on, we don't want to set password, we just show '***'. Real value will be extracted from the forced install file at step1.
|
||||||
$autofill = ((!empty($_SESSION['dol_save_pass'])) ? $_SESSION['dol_save_pass'] : str_pad('', strlen($force_install_databasepass), '*'));
|
$autofill = ((!empty($_SESSION['dol_save_pass'])) ? $_SESSION['dol_save_pass'] : str_pad('', strlen($force_install_databasepass), '*'));
|
||||||
if (!empty($dolibarr_main_prod)) {
|
if (!empty($dolibarr_main_prod)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user