Change record status: 
Project: 
Introduced in branch: 
7.x-1.x
Introduced in version: 
7.x-1.2
Description: 

The Password policy module formerly used the submitted user account to check for password policies. If a constraint needs to check against a changed value rather than the database, this was not possible.

The API change is described as follows -

// New style
function ...($constraint, $account) {

Instead of -

// Old style
function ...($pass, $constraint, $uid) {

See https://drupal.org/node/1226434#comment-4770120 for more information.

Impacts: 
Module developers