Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fix 'password confirm' error message in ORM module #55

Merged
merged 1 commit into from

3 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 7, 2012
  1. @badsyntax
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  classes/model/auth/user.php
View
2  classes/model/auth/user.php
@@ -139,7 +139,7 @@ public static function get_password_validation($values)
{
return Validation::factory($values)
->rule('password', 'min_length', array(':value', 8))
- ->rule('password_confirm', 'matches', array(':validation', ':field', 'password'));
+ ->rule('password_confirm', 'matches', array(':validation', 'password', ':field'));
}
/**
Something went wrong with that request. Please try again.