Hotspot allow_user_registration: Returns a proc to peform a custom action on signup
Was added a new feature that check if the hotspot allow_user_registration
returns a proc and call him.
The LDAP Plugin motivated us to create this new feature, because the user couldn't access the noosfero if him was invited to a community or to be a friend to another user. He access using the link: http://yourdomain.com/account/signup?invitation_code=xxxxxxxx
, and a message error was showed. With the attached patch here, this situation doesn't happen anymore!
Obs: I attached the git patch here because the error 500 is showed to me when I tried create a new merge request. My apologies about this