View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 20634 | Bug reports | User / Groups / Roles | public | 2026-08-05 09:02 | 2026-08-05 11:38 |
| Reporter | Mazi | Assigned To | c_schmitz | ||
| Priority | none | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 6.17.x | ||||
| Summary | 20634: Wrong error message if user account has expired | ||||
| Description | For new admin users you can set an expiry date. If that date was reached and the user tries to log in, all you see is an error about invalid username/password. You are not informed that the actual problem is the expiry date. So users try to re-set their password multiple times but of course this still fails because the account expirted. | ||||
| Steps To Reproduce | Steps to reproduceCreate an account with an expiry date in the past. Expected resultSee a message like "You can not login because your accountexpited on <DATE>. Please contact <ADMINAME> (<ADMINEMAIL>). Actual resultThe current error message only tells you that your credentials are wrong which is incorrect. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 6.17.13+260728 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Story point estimate | 0 | ||||
| Browser | |||||
| Database type & version | MariaDB 10.1.48 | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | 8.3 | ||||
|
This is on purpose for security reasons. So and so, the user will contact the superadmin if they want to use the app. |
|
|
@tibor.pacalat: To be honest, this is VERY confusing for the users. They try resetting their PW again and again and simply fail. We should definitely consider improving this. |
|
|
It is much better to give a generic "user or password is wrong" message. Specific feedback about an expired user account helps attackers find valid usernames on your system. Why Generic Messages Are Safer
Risks of Specific "User Expired" Messages
Best Practices for Secure Logins
|
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40099 |
|
|
@tibor.pacalat, I could agree to you, but then we are both wrong :-) Even as an experienced LimeSurvey expert it took me 20 minutes to find out what finally was wrong. This was also due to the fact that the "Expiry" column is not visible by default at the admin user overview. |
|
|
@c_schmitz, thanks for adding the minor adjustment to the error message. That at least provides some more indication on what may be wrong. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-08-05 09:02 | Mazi | New Issue | |
| 2026-08-05 10:00 | tibor.pacalat | Note Added: 85336 | |
| 2026-08-05 10:00 | tibor.pacalat | Bug heat | 0 => 2 |
| 2026-08-05 10:00 | tibor.pacalat | Assigned To | => tibor.pacalat |
| 2026-08-05 10:00 | tibor.pacalat | Status | new => closed |
| 2026-08-05 10:00 | tibor.pacalat | Resolution | open => won't fix |
| 2026-08-05 10:08 | Mazi | Note Added: 85337 | |
| 2026-08-05 10:08 | Mazi | Bug heat | 2 => 4 |
| 2026-08-05 10:23 | tibor.pacalat | Note Added: 85341 | |
| 2026-08-05 11:34 | c_schmitz | Assigned To | tibor.pacalat => c_schmitz |
| 2026-08-05 11:35 | c_schmitz | Changeset attached | => LimeSurvey master a3345d11 |
| 2026-08-05 11:35 | c_schmitz | Note Added: 85342 | |
| 2026-08-05 11:35 | c_schmitz | Status | closed => resolved |
| 2026-08-05 11:35 | c_schmitz | Resolution | won't fix => fixed |
| 2026-08-05 11:35 | c_schmitz | Bug heat | 4 => 6 |
| 2026-08-05 11:37 | Mazi | Note Added: 85343 | |
| 2026-08-05 11:38 | Mazi | Note Added: 85344 |