Description:
fixed new users import bug when passwords contain extra spaces at the end
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r307:2cdefa1ab6f2 - - 1 file changed: 1 inserted, 1 deleted
@@ -67,13 +67,13 | |||
|
67 | 67 | if items.length>=2 |
|
68 | 68 | login = items[0] |
|
69 | 69 | full_name = items[1] |
|
70 | 70 | |
|
71 | 71 | added_random_password = false |
|
72 | 72 | if items.length>=3 |
|
73 | - password = items[2] | |
|
73 | + password = items[2].chomp(" ") | |
|
74 | 74 | user_alias = (items.length>=4) ? items[3] : login |
|
75 | 75 | else |
|
76 | 76 | password = random_password |
|
77 | 77 | user_alias = (items.length>=4) ? items[3] : login |
|
78 | 78 | added_random_password = true |
|
79 | 79 | end |
You need to be logged in to leave comments.
Login now