2022-11-12 02:27:46 +01:00

17 lines
809 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From: /home/royalsoftbytes/work/helpbuild/app/controllers/api/v1/omniauth_callbacks_controller.rb:5 Api::V1::OmniauthCallbacksController#linkedin:
4: def linkedin
=> 5: binding.pry
6: unless params[:s].present?
7: email = auth_params['info'][:email]
8: unless User.find_by_email(email).present?
9: redirect_to '/auth?signin_disabled=1'
10: return
11: end
12: end
13:
14: handle_callback
15: end