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
This commit is contained in:
Nick Zolotko 2024-08-12 07:22:04 -07:00 committed by GitHub
parent 38d7b04d41
commit 210a1d3ae3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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>