https://bugzilla.wikimedia.org/show_bug.cgi?id=28419

--- Comment #55 from Tyler Romeo <[email protected]> 2012-07-19 19:47:23 UTC 
---
https://gerrit.wikimedia.org/r/16049

A pluggable password system that doesn't rely entirely on static functions.
Hash algorithm sub-classes need only implement four functions: a function that
identifies if a given hash is an instance of that type, a function that
extracts parameters from a hash (or gives defaults), a crypt(), and a testing
function that returns test vectors for PHPUnit.

The patch completely replaces User::crypt and User::comparePasswords by
replacing the User::$mPassword and User::$mNewpassword properties with Password
objects. All comparisons take place using member methods.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to