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

Update AuthController.php #519

Open
wants to merge 1 commit into
base: live
Choose a base branch
from

Conversation

raul-benavente
Copy link

User preferences are set once user is created.

This solves a bug that happens when you fail at user registration.

You got this error message:

FALLO al gestionar las preferencias de notificación SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (goteodb_PRO.user_prefer, CONSTRAINT user_prefer_ibfk_1 FOREIGN KEY (user) REFERENCES user (id) ON DELETE CASCADE ON UPDATE CASCADE)

User preferences are set once user is created.
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

Successfully merging this pull request may close these issues.

1 participant