From 5094fce4b0fa70086b1291b1293fbba9cee94788 Mon Sep 17 00:00:00 2001 From: Andrew Roberts Date: Tue, 4 May 2021 18:26:16 +0100 Subject: [PATCH] Disable autocomplete on admin email field (#1169) * Disable autocomplete on admin email field Fixes #1165 * Disable autocomplete on admin name and password For sake of completeness and due to some over zealous autocompleters, also disable it on name and password fields --- resources/views/admin/users/fields.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/admin/users/fields.blade.php b/resources/views/admin/users/fields.blade.php index f024c6ba..5276f98e 100644 --- a/resources/views/admin/users/fields.blade.php +++ b/resources/views/admin/users/fields.blade.php @@ -8,19 +8,19 @@
{{ Form::label('name', 'Name:') }} - {{ Form::text('name', null, ['class' => 'form-control']) }} + {{ Form::text('name', null, ['class' => 'form-control', 'autocomplete' => 'off']) }}

{{ $errors->first('name') }}

{{ Form::label('email', 'Email:') }} - {{ Form::text('email', null, ['class' => 'form-control']) }} + {{ Form::text('email', null, ['class' => 'form-control', 'autocomplete' => 'off']) }}

{{ $errors->first('email') }}

{{ Form::label('password', 'Password:') }} - {{ Form::password('password', ['class' => 'form-control']) }} + {{ Form::password('password', ['class' => 'form-control', 'autocomplete' => 'off']) }}

{{ $errors->first('password') }}