| Summary | CustomSQL Auth - function exists |
| Queue | Horde Framework Packages |
| Queue Version | HEAD |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | |
| Requester | x3n (at) molinier (dot) eu |
| Created | 03/22/2007 (6806 days ago) |
| Due | |
| Updated | 03/23/2007 (6805 days ago) |
| Assigned | |
| Resolved | 03/23/2007 (6805 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ CustomSQL Auth - function exists
Queue ⇒ Horde Framework Packages
Auth Backend. By default, the function of the SQL backend is used but
unfortunatly it doesn't work.
Parameters for SQL and CustomSQL are different. I propuse using the
following function in the class customSQL :
function exists($userId)
{
return in_array($userId, $this->listUsers());
}
Otherwise, we can ask the user a query handling the existance of an
user. This could be more efficient than listing all users and then
searching him in the array...
Best regards,
x3n
http://www.molinier.eu