View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06925 | Bug reports | Authentication | public | 2012-11-22 10:59 | 2012-11-28 10:14 |
| Reporter | msorriano | Assigned To | c_schmitz | ||
| Priority | high | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.00+ | ||||
| Fixed in Version | 2.00+ | ||||
| Summary | 06925: Administration login using a link with one time password (Limesurvey v2) -> one modification | ||||
| Description | Hello, http://bugs.limesurvey.org/view.php?id=6873 Just one modification in application/controllers/UserIdentity.php 59 //elseif ($sStoredPassword !== hash('sha256', $this->password)) because $sStoredPassword is different from hash('sha256', $this->password) so url authentication don't work. Regards | ||||
| Additional Information | Désolé pour mon anglais je suis français. J'ai remonté un bogue, il y a quelques semaines : http://bugs.limesurvey.org/view.php?id=6873 Mais l'authentification n'a pas marché. J'ai regardé dans le code et en enlevant les lignes 59 à 62 : ça a marché. Je pourrai garder mon code mais à la prochaine mise à jour, il sera écraser. Merci, | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 121116 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | All | ||||
| Database type & version | 164 | ||||
| Server OS (if known) | Debian | ||||
| Webserver software & version (if known) | Debian + apache + php + mysql | ||||
| PHP Version | 5.3 | ||||
|
I am sorry but I don't see the reason for that.
If you need to comment the following part then you are doing something wrong. |
|
|
I made a mistake, it isn't application/controllers/UserIdentity.php but application/core/UserIdentity.php, I understand where is my problem : LSYii_Application Object While in my file / config.php : ... $use_one_time_passwords = true; I am looking why the variable is not true just before if ($sOneTimePassword!='' && Yii::app()->getConfig("use_one_time_passwords") && md5($sOneTimePassword)==$user->one_time_pw) |
|
|
I found it! I add "'use_one_time_passwords'=>true" at the end of /application/config/config.php like it :
); and it work. Thank you for your help |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-11-22 10:59 | msorriano | New Issue | |
| 2012-11-24 01:14 | c_schmitz | Assigned To | => c_schmitz |
| 2012-11-24 01:14 | c_schmitz | Status | new => assigned |
| 2012-11-24 23:17 | c_schmitz | Relationship added | related to 06873 |
| 2012-11-25 20:48 | c_schmitz | Note Added: 22490 | |
| 2012-11-25 20:48 | c_schmitz | Status | assigned => feedback |
| 2012-11-26 17:01 | msorriano | Note Added: 22546 | |
| 2012-11-26 17:01 | msorriano | Status | feedback => assigned |
| 2012-11-28 10:06 | msorriano | Note Added: 22614 | |
| 2012-11-28 10:14 | c_schmitz | Status | assigned => closed |
| 2012-11-28 10:14 | c_schmitz | Resolution | open => fixed |
| 2012-11-28 10:14 | c_schmitz | Fixed in Version | => 2.00+ |