The Password Requirements list that appears on the user/*/edit page displays an unordered list. This list renders with class="first" on each li. See the example below.

<div id="account-pass-restrictions">
	<div class="item-list">
		<h3>Password Requirements</h3>
		<ul>
			<li class="first">Password must contain at least one uppercase character.</li>
			<li class="first">Password must contain at least one lowercase character.</li>
			<li class="first">Password must not contain the username.</li>
			<li class="first">Password must contain at least one digit.</li>
			<li class="first">Password must be at least 8 characters in length.</li>
			<li class="first">Password must not match last 3 passwords.</li>
		</ul>
	</div>
</div>

Comments

erikwebb’s picture

Status: Active » Needs review
StatusFileSize
new933 bytes

Silly mistake. Appears the item_list theme function doesn't work well with non-numeric keys.

erikwebb’s picture

Title: Password Requirements item list on user/edit page » Password requirements item list CSS class
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.