Open madesst opened 12 years ago
I've commited improvments in sfMelodyUserFactory, BasesfMelodyActions for working with register_redirect: true.
Do you need any comments about this pull request?
Hi,
At the beginning, I wanted to add the possibility the specify a path linked to the user class in the config and never done it. I think your solution can be usefull for propel guy so we can merge as a first shot.
And then when me or someone else change the process we can merge the next version... :p
Look at this http://forum.symfony-project.org/viewtopic.php?f=12&t=33956 I have same trouble. In propel version of sfGuardPlugin, there aren't such fields as first_name or email_adress. Normally i use sf_guard_user_profile table for such data:
App.yml:
But sfMelodyPlugin not work with the profile, plugin try to use setters of sfGuardUser object only. There is some patch of that problem. Some key in app.yml explains to sfMelody to look for profile setters if it cant't find in sfGuardUser.
For example, my app.yml.
After registration i get 2 new tuples in DB:
Code is very stupid, but it works for now. I hope this will be useful.