Development

#1440 ([PATCH] sfGuardPlugin signin.yml validation configuration)

You must first sign up to be able to contribute.

Ticket #1440 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

[PATCH] sfGuardPlugin signin.yml validation configuration

Reported by: forkmantis Assigned to: fabien
Priority: minor Milestone: plugins
Component: sfGuardPlugin Version: 1.0.0-rc1
Keywords: Cc:
Qualification:

Description

in looking at the code of the execute function in sfGuardPlugin/lib/validator/sfGuardUserValidator.class.php, it looks like the signin.yml validation file should use the parameters password_field and remember_field in place of password and remember.

This became apparent to me when I tried using the validator to validate a password field named "old_password" on a password update form. Apparently the default values used in the validator's execute function mask this error if you stick w/ the standard names of password and remember.

Attachments

signin.yml.patch (449 bytes) - added by forkmantis on 02/09/07 18:43:41.

Change History

02/09/07 18:43:41 changed by forkmantis

  • attachment signin.yml.patch added.

02/18/07 10:08:37 changed by fabien

  • milestone set to plugins.

02/21/07 15:02:33 changed by francois

  • owner set to fabien.
  • component set to sfGuardPlugin.

04/02/07 13:35:53 changed by fabien

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

(In [3695]) plugins: fixed sfGuardPlugin signin.yml validation configuration (closes #1440)