Bug on sign up when oauth providers are all disabled #157
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
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:
The variable
@o_auths
isnil
, probably because only enabled oauths are selected, and calling the.empty?
method on it causes the error.The text was updated successfully, but these errors were encountered: