View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06886 | Bug reports | Authentication | public | 2012-11-16 09:21 | 2012-11-27 06:11 |
| Reporter | pmavro | Assigned To | c_schmitz | ||
| Priority | high | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.00+ | ||||
| Fixed in Version | 2.00+ | ||||
| Summary | 06886: Admin password reseted after language changed | ||||
| Description | Hi, I report an issue concerning an issue on the authentication mechanism. The user password is reseted when the language change from default. | ||||
| Steps To Reproduce |
| ||||
| Additional Information | I've notice this issue on several 2.0 versions, even the latest | ||||
| Tags | No tags attached. | ||||
| Bug heat | 10 | ||||
| Complete LimeSurvey version number (& build) | 121115 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Firefox | ||||
| Database type & version | PostgreSQL 9.1 | ||||
| Server OS (if known) | Debian 6 + Backports for PostgreSQL | ||||
| Webserver software & version (if known) | Aapche 2.2 | ||||
| PHP Version | 5.3.3 | ||||
|
I've logged all transactions on PostgreSQL and we can see that when you login with another language than Default, the password is updated : 2012-11-16 03:44:39 EST LOG: instruction : UPDATE "lime_users" SET "uid"=1, "users_name"='admin', "password"='Resource id #65', "full_name"='Administrator', "parent_id"=0, "lang"='fr', "email"='your-email@example.net', "create_survey"=1, "create_user"=1, "participant_panel"=1, "delete_user"=1, "superadmin"=1, "configurator"=1, "manage_template"=1, "manage_label"=1, "htmleditormode"='default', "templateeditormode"='default', "questionselectormode"='default', "one_time_pw"=NULL, "dateformat"=1 WHERE "lime_users"."uid"=1 I don't really know what 'Resource id #65'. |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10324 |
|
|
Tested. It works thanks |
|
|
New version 2.00+ Build 121116 released |
|
|
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10329 |
|
|
Re-opened because a user on the IRC reported this to show up at build 121121. |
|
|
Hi ! The issue is back since this line has been added : Commit fbc4ed63ecad6ae2cc2485b66099e0e3fea9498d is the problem. |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10429 |
|
|
Just for reference: The cause is a Yii issue https://github.com/yiisoft/yii/issues/1181 |
|
|
The linked Yii issue does not fix the problem. Will leave it in for now anyway. |
|
|
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10457 |
|
|
New 2.00+ build released. |
|
|
LimeSurvey: master ea97656c 2012-11-16 10:21 Details Diff |
Fixed issue 06886: Admin password re-set after language changed and using Postgres |
Affected Issues 06886 |
|
| mod - application/models/User.php | Diff File | ||
|
LimeSurvey: 2.1 59e7a789 2012-11-16 10:21 Details Diff |
Fixed issue 06886: Admin password re-set after language changed and using Postgres |
Affected Issues 06886 |
|
| mod - application/models/User.php | Diff File | ||
|
LimeSurvey: master eabff364 2012-11-22 15:11 Details Diff |
Fixed issue 06886: Admin password re-set after language changed and using Postgres |
Affected Issues 06886 |
|
| mod - application/core/UserIdentity.php | Diff File | ||
| mod - application/models/User.php | Diff File | ||
|
LimeSurvey: 2.1 abad9fa1 2012-11-22 15:11 Details Diff |
Fixed issue 06886: Admin password re-set after language changed and using Postgres |
Affected Issues 06886 |
|
| mod - application/core/UserIdentity.php | Diff File | ||
| mod - application/models/User.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-11-16 09:21 | pmavro | New Issue | |
| 2012-11-16 09:38 | c_schmitz | Assigned To | => c_schmitz |
| 2012-11-16 09:38 | c_schmitz | Status | new => assigned |
| 2012-11-16 09:50 | pmavro | Note Added: 22233 | |
| 2012-11-16 10:21 | c_schmitz | Changeset attached | => LimeSurvey master ea97656c |
| 2012-11-16 10:21 | c_schmitz | Note Added: 22236 | |
| 2012-11-16 10:21 | c_schmitz | Resolution | open => fixed |
| 2012-11-16 10:22 | c_schmitz | Status | assigned => resolved |
| 2012-11-16 10:22 | c_schmitz | Fixed in Version | => 2.00+ |
| 2012-11-16 10:32 | pmavro | Note Added: 22238 | |
| 2012-11-16 10:40 | c_schmitz | Note Added: 22239 | |
| 2012-11-16 10:40 | c_schmitz | Status | resolved => closed |
| 2012-11-16 11:40 | c_schmitz | Changeset attached | => LimeSurvey 2.1 59e7a789 |
| 2012-11-16 11:40 | c_schmitz | Note Added: 22257 | |
| 2012-11-19 12:42 | mdekker | Relationship added | related to 06896 |
| 2012-11-22 11:44 | Mazi | Note Added: 22413 | |
| 2012-11-22 11:44 | Mazi | Status | closed => feedback |
| 2012-11-22 11:44 | Mazi | Resolution | fixed => reopened |
| 2012-11-22 11:44 | Mazi | Status | feedback => assigned |
| 2012-11-22 11:46 | pmavro | Note Added: 22414 | |
| 2012-11-22 11:46 | pmavro | Status | assigned => feedback |
| 2012-11-22 11:46 | pmavro | Issue Monitored: pmavro | |
| 2012-11-22 14:33 | c_schmitz | Assigned To | c_schmitz => mdekker |
| 2012-11-22 14:33 | c_schmitz | Status | feedback => assigned |
| 2012-11-22 14:40 | c_schmitz | Assigned To | mdekker => c_schmitz |
| 2012-11-22 15:12 | c_schmitz | Changeset attached | => LimeSurvey master eabff364 |
| 2012-11-22 15:12 | c_schmitz | Note Added: 22425 | |
| 2012-11-22 15:12 | c_schmitz | Status | assigned => resolved |
| 2012-11-22 15:12 | c_schmitz | Resolution | reopened => fixed |
| 2012-11-23 11:14 | mdekker | Note Added: 22442 | |
| 2012-11-23 15:03 | c_schmitz | Status | resolved => assigned |
| 2012-11-23 17:19 | c_schmitz | Note Added: 22457 | |
| 2012-11-23 17:19 | c_schmitz | Status | assigned => resolved |
| 2012-11-24 00:11 | c_schmitz | Changeset attached | => LimeSurvey 2.1 abad9fa1 |
| 2012-11-24 00:11 | c_schmitz | Note Added: 22470 | |
| 2012-11-27 06:11 | c_schmitz | Note Added: 22584 | |
| 2012-11-27 06:11 | c_schmitz | Status | resolved => closed |
| 2021-08-03 16:48 | guest | Bug heat | 8 => 10 |