mirror of
https://gitlab.com/mojo42/Jirafeau.git
synced 2025-04-21 04:01:51 +02:00
[BUGFIX] setup autocomplete field for passwords
closes #265 Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
This commit is contained in:
parent
2bc76d8bae
commit
8665ea5fc1
@ -91,7 +91,7 @@ if (php_sapi_name() == "cli") {
|
||||
<tr>
|
||||
<td class = "field"><input type = "password"
|
||||
name = "admin_password" id = "admin_password"
|
||||
size = "40" />
|
||||
size = "40" autocomplete = "current-password" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class = "nav">
|
||||
|
2
f.php
2
f.php
@ -142,7 +142,7 @@ if (!empty($link['key'])) {
|
||||
'<legend>' . t('PSW_PROTEC') .
|
||||
'</legend><table><tr><td>' .
|
||||
t('GIMME_PSW') . ' : ' .
|
||||
'<input type = "password" name = "key" />' .
|
||||
'<input type = "password" name = "key" autocomplete = "current-password"/>' .
|
||||
'</td></tr>' .
|
||||
'<tr><td>' .
|
||||
t('USING_SERVICE'). ' <a href="tos.php" target="_blank" rel="noopener noreferrer">' . t('TOS') . '</a>.' .
|
||||
|
@ -75,7 +75,7 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) {
|
||||
</tr><tr>
|
||||
<td class = "field"><input type = "password"
|
||||
name = "upload_password" id = "upload_password"
|
||||
size = "40" />
|
||||
size = "40" autocomplete = "current-password" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr class = "nav">
|
||||
@ -185,7 +185,7 @@ elseif (true === jirafeau_challenge_upload_ip($cfg, get_ip_address($cfg))) {
|
||||
?>
|
||||
<tr>
|
||||
<td><label for="input_key"><?php echo t('PSW') . ':'; ?></label></td>
|
||||
<td><input type="password" name="key" id="input_key" /></td>
|
||||
<td><input type="password" name="key" id="input_key" autocomplete = "new-password"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for="select_time"><?php echo t('TIME_LIM') . ':'; ?></label></td>
|
||||
|
@ -120,7 +120,7 @@ default:
|
||||
><?php echo t('ADMIN_PSW') . ':';
|
||||
?></label></td>
|
||||
<td class = "field"><input type = "password" name = "admin_password"
|
||||
id = "admin_password" size = "40" /></td>
|
||||
id = "admin_password" size = "40" autocomplete = "new-password"/></td>
|
||||
</tr>
|
||||
<tr class = "nav">
|
||||
<td></td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user