mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
Disable password autocompletion in edit forms
This commit is contained in:
1 parent
a9a31620d2
commit
1435e6aa46
1 file changed
+1
-1
@@ -42,7 +42,7 @@
|
||||
{html_options output=$struct.{$key}.options values=$struct.{$key}.options selected=$value_{$key}}
|
||||
</select>
|
||||
{elseif $field.type == 'pass' || $field.type == 'b64p'}
|
||||
<input class="form-control" type="password" name="value[{$key}]"/>
|
||||
<input class="form-control" type="password" name="value[{$key}]" {if $key == 'password' || $key == 'password2'}autocomplete="new-password"{/if}/>
|
||||
{elseif $field.type == 'txtl'}
|
||||
<textarea class="form-control" rows="10" cols="35" name="value[{$key}]">{foreach key=key2 item=field2 from=$value_{$key}}{$field2} {/foreach}</textarea>
|
||||
{else}
|
||||
|
||||
Reference in new issue
Block a user