Added autocomplete="off" attribute to input password.

This commit is contained in:
Leonid Nikitin 2024-06-11 22:39:39 +05:00
parent d7dc80cca4
commit c5fc106761
Signed by: kor-elf
GPG Key ID: 3C0F720C170F6E1D
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@
<span class="input-group-text" id="basic-addon2"> <span class="input-group-text" id="basic-addon2">
<svg class="icon icon-xs text-gray-600" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z" clip-rule="evenodd"></path></svg> <svg class="icon icon-xs text-gray-600" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M5 9V7a5 5 0 0110 0v2a2 2 0 012 2v5a2 2 0 01-2 2H5a2 2 0 01-2-2v-5a2 2 0 012-2zm8-2v2H7V7a3 3 0 016 0z" clip-rule="evenodd"></path></svg>
</span> </span>
<input type="password" name="password" placeholder="Password" class="form-control" id="password" required> <input type="password" name="password" placeholder="Password" class="form-control" id="password" autocomplete="off" required>
</div> </div>
</div> </div>
<!-- End of Form --> <!-- End of Form -->

View File

@ -23,8 +23,8 @@
<form method="post" action="{{ route('profile.update-password') }}"> <form method="post" action="{{ route('profile.update-password') }}">
@csrf @csrf
@method('PUT') @method('PUT')
<x-volt.forms.input :title="__('validation.attributes.password')" name="password" type="password" required /> <x-volt.forms.input :title="__('validation.attributes.password')" name="password" type="password" autocomplete="off" required />
<x-volt.forms.input :title="__('validation.attributes.password_confirmation')" name="password_confirmation" type="password" required /> <x-volt.forms.input :title="__('validation.attributes.password_confirmation')" name="password_confirmation" type="password" autocomplete="off" required />
<button class="btn btn-primary" type="submit">{{ __('Save') }}</button> <button class="btn btn-primary" type="submit">{{ __('Save') }}</button>
</form> </form>
</div> </div>