From 84317f7f5077c30afdb632cb9b6972c9a5fe7432 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 6 Dec 2016 11:50:20 -0800 Subject: [PATCH] Fixes #2990 - disabled autocomplete on login --- resources/views/auth/login.blade.php | 4 ++-- resources/views/users/edit.blade.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php index 5b15f3bec6..39881a0a61 100755 --- a/resources/views/auth/login.blade.php +++ b/resources/views/auth/login.blade.php @@ -4,7 +4,7 @@ {{-- Page content --}} @section('content') -
+
@@ -35,7 +35,7 @@ {!! $errors->first('username', ' :message') !!}
- + {!! $errors->first('password', ' :message') !!}
diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php index 7d49c734a9..0b7e1a09da 100755 --- a/resources/views/users/edit.blade.php +++ b/resources/views/users/edit.blade.php @@ -117,7 +117,7 @@ name="username" id="username" value="{{ Input::old('username', $user->username) }}" - autocomplete="false" + autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" {{ ((config('app.lock_passwords') && ($user->id)) ? ' disabled' : '') }} @@ -146,7 +146,7 @@ class="form-control" id="password" value="" - autocomplete="false" + autocomplete="off" readonly onfocus="this.removeAttribute('readonly');" {{ ((config('app.lock_passwords') && ($user->id)) ? ' disabled' : '') }}