1
0
mirror of https://github.com/flarum/core.git synced 2025-08-06 00:17:31 +02:00

Add missing autocomplete attributes to input fields (#3088)

* Add missing autocomplete attributes to input fields
* Add autocomplete attributes to password fields
* Attribute should use new-password
This commit is contained in:
Fransiscus Rolanda Malau
2021-10-14 01:53:35 +07:00
committed by GitHub
parent a65488000c
commit 0a7e885eab
4 changed files with 5 additions and 2 deletions

View File

@@ -19,11 +19,11 @@
<input type="hidden" name="passwordToken" value="{{ $passwordToken }}">
<p class="form-group">
<input type="password" class="form-control" name="password" placeholder="{{ $translator->trans('core.views.reset_password.new_password_label') }}">
<input type="password" class="form-control" name="password" autocomplete="new-password" placeholder="{{ $translator->trans('core.views.reset_password.new_password_label') }}">
</p>
<p class="form-group">
<input type="password" class="form-control" name="password_confirmation" placeholder="{{ $translator->trans('core.views.reset_password.confirm_password_label') }}">
<input type="password" class="form-control" name="password_confirmation" autocomplete="new-password" placeholder="{{ $translator->trans('core.views.reset_password.confirm_password_label') }}">
</p>
<p class="form-group">