[horde] Question about password reset function.
jan at horde.org
Tue Sep 3 19:09:17 UTC 2013
Zitat von Michael J Rubinsky <mrubinsk at horde.org>:
> Quoting Ralf Lang <lang at b1-systems.de>:
>> On 03.09.2013 20:34, Michael J Rubinsky wrote:
>>> More likely, he logged in with a different case previously. I.e
>>> Administrator vs administrator.
>> Shouldn't rampage_users be case-sensitive too, then? Otherwise any case
>> sensitive backend would cause trouble.
> It is, assuming the DB backend handles both the SELECT and the
> INSERT as case-sensitive. Looking at the code in
> Content_Users_Manager::ensureUsers(), the only way I can see that
> this would error out is if the SELECT query does not find the
> username in the table, but when trying to add it, it finds that it
> is, indeed, already there.
The column is case sensitive, but the index isn't. At least on some
database engines (InnoDB).
The Horde Project
More information about the horde