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

Bugfix/Login attempt with Fiware throws Internal Server error #23

Merged
merged 1 commit into from
Jan 24, 2018

Conversation

fdelavega
Copy link

WIP
Fixes Apinf bug 3209

Meteor is expecting service data to include a username field during the first login attempt.

When the field is not provided the value of result.error (AccountsServer.Ap._attemptLogin (packages/accounts-base/accounts_server.js) is not empty (Something like missing Username field)

That results on attempt.error being filled with result.error which causes a circular JSON error, which is why a 500 error is given (This seems to be a bug in the accounts_server.js)

@anarva
Copy link

anarva commented Jan 24, 2018

OK, verified!

@anarva anarva merged commit acdcfd0 into apinf:master Jan 24, 2018
Copy link

@anarva anarva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change with no impact to the rest of the functionality.

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.

2 participants