Closed (fixed)
Project:
Password Policy
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2013 at 18:39 UTC
Updated:
11 Dec 2013 at 21:00 UTC
Jump to comment: Most recent
Comments
Comment #1
erikwebb commentedShould we be trimming the password? If there is a leading or trailing space, won't that make our stored password hash different than the main Drupal table's?
Comment #2
coltraneDrupal's user_save() already trims the password so leading or trailing spaces aren't saved for passwords (they're also trimmed on login so it doesn't matter).
Patch looks good to me. RTBC
Comment #3
erikwebb commentedFixed. Thanks!
http://drupalcode.org/project/password_policy.git/commit/78d798d