From 210a1d3ae3d5f30c208b3c0b4c95637791b05e23 Mon Sep 17 00:00:00 2001 From: Nick Zolotko Date: Mon, 12 Aug 2024 07:22:04 -0700 Subject: [PATCH] Fix Sudo Confirm Password Autofill for Password Managers Password managers are looking for "current-password" in the autocomplete tag. This fixes issue https://github.com/pixelfed/pixelfed/issues/5258 --- resources/views/auth/sudo.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/auth/sudo.blade.php b/resources/views/auth/sudo.blade.php index edbbabe25..d173d6677 100644 --- a/resources/views/auth/sudo.blade.php +++ b/resources/views/auth/sudo.blade.php @@ -29,7 +29,7 @@ type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" - autocomplete="new-password" + autocomplete="current-password" placeholder="{{__('Password')}}" required>