]> BookStack Code Mirror - bookstack/commitdiff
Disable autocomplete on the change password field
authorNova <redacted>
Wed, 13 Jan 2021 20:21:57 +0000 (12:21 -0800)
committerGitHub <redacted>
Wed, 13 Jan 2021 20:21:57 +0000 (12:21 -0800)
resources/views/form/password.blade.php

index a3c868a8dc08ba293e624f27aa8f1229aa5aa039..65df748772598a9f8de8498f4ba705a21041c317 100644 (file)
@@ -1,7 +1,8 @@
 <input type="password" id="{{ $name }}" name="{{ $name }}"
        @if($errors->has($name)) class="text-neg" @endif
        @if(isset($placeholder)) placeholder="{{$placeholder}}" @endif
+       @if(isset($autocomplete)) autocomplete="{{$autocomplete}}" @endif
        @if(old($name)) value="{{ old($name)}}" @endif>
 @if($errors->has($name))
     <div class="text-neg text-small">{{ $errors->first($name) }}</div>
-@endif
\ No newline at end of file
+@endif