Development

#2189 (sfGuardPlugin/config/schema.xml contains faulty default algorithm)

You must first sign up to be able to contribute.

Ticket #2189 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

sfGuardPlugin/config/schema.xml contains faulty default algorithm

Reported by: Matt.Robinson Assigned to: fabien
Priority: minor Milestone:
Component: sfGuardPlugin Version: 1.0.6
Keywords: Cc:
Qualification:

Description

in sfGuardPlugin/config/schema.xml line 39:

    <column name="algorithm" type="VARCHAR" size="128" required="true" default="\asha1\a" />

This makes (on mySQL 5.0.30 with myISAM tables, at least) the default algorithm \asha1\a, which fails when creating a user at the database level. Using the sfGuardUser module (and lib/model/sfGuardUser.php::setPassword()) both set the algorithm to sha1 by default, so this problem does not occur when using the supplied backend (hence I've classified it 'minor'), but it affected us when we were generating our own users from outside the app.

Change History

09/08/07 00:17:17 changed by davedash

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r5000... that's right... five thousand.