Need Phone As Mandatory Parameter In Social Login

Hi All,

I need phone field as Mandatory parameter when I Signup with social login (facebook, google etc)

Without phone user not to be register in cs-cart.

Thanks in Advance. :grin:

Please change the fn_hybrid_auth_process function in the app/addons/hybrid_auth/func.php file

Please change the fn_hybrid_auth_process function in the app/addons/hybrid_auth/func.php file

Thanks for your reply, Can you please tell me what I need to change in that..

Thanks for your reply, Can you please tell me what I need to change in that..

Check $user_data array for mandatory phone parameter

Check $user_data array for mandatory phone parameter

I tried the solution, but its not working.. :(

I would imagine that it would use the default profile fields info.?

[attachment=13420:Screenshot_2018-08-28 Administration Profile fields - Administration panel.png]

Screenshot_2018-08-28 Administration Profile fields - Administration panel.png

I tried the solution, but its not working.. :(

What kind of changes did you add to the function?

What kind of changes did you add to the function?

I also have the same requirement. Could you please suggest what exactly do we need to add/change?