View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004655 | SOGo | Web Mail | public | 2019-01-23 12:40 | 2019-01-23 12:40 |
Reporter | ultreia | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | [Server] Linux | OS | Debian | OS Version | 8 (Jessie) |
Product Version | 4.0.5 | ||||
Summary | 0004655: Password change fails | ||||
Description | In our infrastructure, we can login to webmail using a login(c_uid) or an email(mail). We use c_uid and mail as login fields. SQL Update fails if a user log into the webmail with his mail instead of his c_uid. | ||||
Additional Information | Logs: SQL: SELECT c_password FROM sogo WHERE (c_uid = 'example@example.com') OR (mail = 'example@example.com'); Update query fails because our c_uid is a login (example). If users log in via his login (example) instead of his mail (example@example.com) query has success, but if they log in via mail, query fails. +-----------------+--------------------+------------+--------------------+--------------------+ The fix could be something like: UPDATE sogo SET c_password = '12345' WHERE (c_uid = 'example@example.com') OR (mail = 'example@example.com'); | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-01-23 12:40 | ultreia | New Issue |