Commit d5687e4746010d9f93a9654aee51a0523eb57e74
1 parent
486eb678
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Fix merge mistake with === and ==
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/noosfero/api/session.rb
... | ... | @@ -41,7 +41,7 @@ module Noosfero |
41 | 41 | attrs = attributes_for_keys [:email, :login, :password, :password_confirmation] + environment.signup_person_fields |
42 | 42 | remote_ip = (request.respond_to?(:remote_ip) && request.remote_ip) || (env && env['REMOTE_ADDR']) |
43 | 43 | |
44 | - unless test_captcha(remote_ip, params, environment) === true | |
44 | + if not test_captcha(remote_ip, params, environment) == true | |
45 | 45 | render_api_error!(_('Please solve the test in order to register.'), 401) |
46 | 46 | return |
47 | 47 | end | ... | ... |