Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register is not working due to salt field #7

Open
lubiluk opened this issue Sep 2, 2010 · 3 comments
Open

register is not working due to salt field #7

lubiluk opened this issue Sep 2, 2010 · 3 comments

Comments

@lubiluk
Copy link

lubiluk commented Sep 2, 2010

There is an error: Unexpected extra form field named "salt".
Wouldn't it be better to generate salt automaticly out of the box instead putting it to register form?

@ilbp90
Copy link

ilbp90 commented Dec 7, 2010

Hi, i have the same problem! Did u find the solution?

@lubiluk
Copy link
Author

lubiluk commented Dec 7, 2010

Kind of...
I've switched to the latest version of sfDoctrineGuard which has now all needed functionality including registering, password reset etc. Those features are there but not necessarily mentioned in documentation.

@ilbp90
Copy link

ilbp90 commented Dec 8, 2010

But do Auth doesn't have dependency on sfDoctrineGuard, does it?

Well i unset the salt field from the form in plugins/doAuthPlugin/lib/form/doctrine/base/BaseRegisterUserForm.class.php in line 18
...
18. unset($this['id'], $this['is_active'], $this['is_super_admin'], $this['last_login'], $this['created_at'], $this['updated_at'], $this['salt']);
...

And it worked..

Then something else came up, that i still need to figure out.!
Error: The template "_mail_registration.php" does not exist or is unreadable in ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants