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 Functionality is broken #18

Open
pondorasti opened this issue Dec 21, 2018 · 3 comments
Open

Register Functionality is broken #18

pondorasti opened this issue Dec 21, 2018 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@pondorasti
Copy link
Member

After some digging around, the main problem is caused by the completion callback of the UserService.register method, returning for both parameters nil resulting in a serious bug. That's because the when we try to update the realtime database with the new user json, the permission is denied.

@pondorasti pondorasti added the bug Something isn't working label Dec 21, 2018
@pondorasti
Copy link
Member Author

I suspect that this issue root is from our realtime database rules

@LinnierGames
Copy link
Collaborator

Hey! Indeed the reason is the rules prevent any missing values for a new user. For now the rules can be removed since they haven't been reviewed

@pondorasti
Copy link
Member Author

okay cool, can I go ahead and remove them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants