Development

#2254 (The 'secure' action in sfGuardPlugin sould need no credential)

You must first sign up to be able to contribute.

Ticket #2254 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

The 'secure' action in sfGuardPlugin sould need no credential

Reported by: Tartembouille Assigned to: fabien
Priority: major Milestone:
Component: sfGuardPlugin Version: 1.0.0
Keywords: Cc:
Qualification:

Description

Its seems there is a problem with the 'secure' action (when you don't have the needed credentials) in the sfGuardPlugin. If an app have some credentials defined like that :

default:
  is_secure: off
  credentials : [ Etudiant ]

and if we signin with a user wich not have this credentials, we get an error of redirection > 5, because the 'secure' action is called by the plugin but this one need credentials so it call the secure action but etc...

I think this line sould be added to the security.yml in plugins/sfGuardPlugin/modules/sfGuardAuth/configsecurity.yml :

secure:
  is_secure: off

or

secure:
  is_secure: on
  credentials: [] (no credential at all... i don't know if its the good way but it seems to work like that)

Change History

09/17/07 11:01:54 changed by Tartembouille

  • summary changed from The 'secure' action in sfGuardPlugin sould not need credentials to The 'secure' action in sfGuardPlugin sould need no credential.

09/19/07 20:30:10 changed by fabien

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

in r5194