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
@@ -70,7 +70,7 | |||||
|
70 |
|
70 | ||
|
71 | added_random_password = false |
|
71 | added_random_password = false |
|
72 | if items.length>=3 |
|
72 | if items.length>=3 |
|
73 | - password = items[2] |
|
73 | + password = items[2].chomp(" ") |
|
74 | user_alias = (items.length>=4) ? items[3] : login |
|
74 | user_alias = (items.length>=4) ? items[3] : login |
|
75 | else |
|
75 | else |
|
76 | password = random_password |
|
76 | password = random_password |
You need to be logged in to leave comments.
Login now