Prevent auto-complete on contact password

This commit is contained in:
Hillel Coren 2017-04-16 10:09:45 +03:00
parent 93dad4be94
commit b408d92879

View File

@ -697,7 +697,7 @@
attr: {name: 'client[contacts][' + \$index() + '][phone]'}") !!} attr: {name: 'client[contacts][' + \$index() + '][phone]'}") !!}
@if ($account->hasFeature(FEATURE_CLIENT_PORTAL_PASSWORD) && $account->enable_portal_password) @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', {!! 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 @endif
<div class="form-group"> <div class="form-group">
<div class="col-lg-8 col-lg-offset-4"> <div class="col-lg-8 col-lg-offset-4">