View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 12475 | Bug reports | Authentication | public | 2017-06-19 09:14 | 2017-06-20 09:39 |
| Reporter | domago | Assigned To | c_schmitz | ||
| Priority | none | Severity | crash | ||
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 2.65.x | ||||
| Summary | 12475: Use one_time_pw | ||||
| Description | I have just updated LS: version 2.4 to version 2.65.4 + 170612. With the old version, I used the 'unique password' function that worked perfectly.
'Debug = 2' does not return any errors. | ||||
| Steps To Reproduce | PHP $sql_update_LS = "UPDATE lime_users SET one_time_pw=xxx WHERE users_name=xxx"; | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 2.65.4+170612 | ||||
| I will donate to the project if issue is resolved | Yes | ||||
| Browser | |||||
| Database type & version | Version du serveur MySQL : 5.5.55-0+deb8u1 | ||||
| Server OS (if known) | Debian | ||||
| Webserver software & version (if known) | Apache/2.4.10 | ||||
| PHP Version | 7.0.18-1~dotdeb+8.1 | ||||
|
You are aware that this needs an MD5 hash, right? |
|
|
Yes of course. My PW registration code is : SHA2('mypassword',256) |
|
|
SHA2 is not MD5. Please check again. |
|
|
Already tested with md5. But it does not work either. |
|
|
My complete php code : $user = 'user_name'; |
|
|
Works fine here. Did you activate one time passwords in config.php? See https://manual.limesurvey.org/Optional_settings#Use_one_time_passwords |
|
|
I wrote in config.php : $config['use_one_time_passwords'] = true; |
|
|
Well, then you did it wrong. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-06-19 09:14 | domago | New Issue | |
| 2017-06-19 13:42 | c_schmitz | Assigned To | => c_schmitz |
| 2017-06-19 13:42 | c_schmitz | Status | new => feedback |
| 2017-06-19 13:42 | c_schmitz | Note Added: 43937 | |
| 2017-06-19 14:49 | domago | Note Added: 43938 | |
| 2017-06-19 14:49 | domago | Status | feedback => assigned |
| 2017-06-19 15:00 | c_schmitz | Note Added: 43939 | |
| 2017-06-19 15:24 | domago | Note Added: 43940 | |
| 2017-06-19 15:27 | domago | Note Added: 43941 | |
| 2017-06-19 16:26 | c_schmitz | Status | assigned => resolved |
| 2017-06-19 16:26 | c_schmitz | Resolution | open => unable to reproduce |
| 2017-06-19 16:26 | c_schmitz | Note Added: 43942 | |
| 2017-06-19 19:33 | domago | Note Added: 43943 | |
| 2017-06-20 09:38 | c_schmitz | Note Added: 43947 | |
| 2017-06-20 09:39 | c_schmitz | Status | resolved => closed |