1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Prevent auto-complete on contact password

This commit is contained in:
Hillel Coren 2017-04-16 10:10:05 +03:00
parent e3349c8224
commit 60895a61cb

View File

@ -693,7 +693,7 @@
attr: {name: 'client[contacts][' + \$index() + '][phone]'}") !!}
@if ($account->hasFeature(FEATURE_CLIENT_PORTAL_PASSWORD) && $account->enable_portal_password)
{!! Former::password('password')->data_bind("value: (typeof password=='function'?password():null)?'-%unchanged%-':'', valueUpdate: 'afterkeydown',
attr: {name: 'client[contacts][' + \$index() + '][password]'}") !!}
attr: {name: 'client[contacts][' + \$index() + '][password]'}")->autocomplete('new-password') !!}
@endif
<div class="form-group">
<div class="col-lg-8 col-lg-offset-4">