[horde] Question about password reset function.
Michael J Rubinsky
mrubinsk at horde.org
Tue Sep 3 18:59:45 UTC 2013
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.
--
mike
The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 2200 bytes
Desc: PGP Public Key
URL: <http://lists.horde.org/archives/horde/attachments/20130903/506eedbe/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5849 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20130903/506eedbe/attachment-0003.bin>
More information about the horde
mailing list