Fixed admin login does not use xf:passwordboxrow

Xon

Well-known member
Affected version
2.1.0 Beta 5
The admin login still uses a xf:textbox type="password" instead of the new xf:passwordboxrow, and as such doesn't have the show-hide password functionality.

Admin login_form template:
XML:
<xf:textbox name="password" type="password"
   placeholder="{{ phrase('password...') }}"
   aria-label="{{ phrase('password') }}" />
<xf:fa icon="fa-key" />
 
Last edited:
Ah I see, a xf:passwordbox isn't exposed as a template tag despite templator knowing about formPasswordBox (ie the non-row version)
 
Last edited:
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.0 B7/RC1).

Change log:
Use xf:passwordbox on the admin login form to get the show/hide option (along with additional adjustments to handle correct styling of the show/hide option and autofill highlighting)
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Back
Top Bottom