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

Bug on sign up when oauth providers are all disabled #157

Closed
riggraz opened this issue Oct 22, 2022 · 0 comments · Fixed by #206
Closed

Bug on sign up when oauth providers are all disabled #157

riggraz opened this issue Oct 22, 2022 · 0 comments · Fixed by #206
Labels
bug Something isn't working good first issue Good for newcomers ruby Issues that require ruby knowledge and pull requests that update Ruby code
Milestone

Comments

@riggraz
Copy link
Collaborator

riggraz commented Oct 22, 2022

This bug causes a 500 Internal Server Error and seems to happen when trying to sign up when there are 1+ oauth providers but they are all disabled.

The complete error message and information can be seen in the following image:

Screenshot 2022-10-22 at 12 44 58

The variable @o_auths is nil, probably because only enabled oauths are selected, and calling the .empty? method on it causes the error.

@riggraz riggraz added bug Something isn't working good first issue Good for newcomers ruby Issues that require ruby knowledge and pull requests that update Ruby code labels Oct 22, 2022
@riggraz riggraz added this to the v 1.0 milestone Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers ruby Issues that require ruby knowledge and pull requests that update Ruby code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant