• Welcome to WooUSEFUL by PHPVIBE . Please log in.

[ Video Sharing CMS v4 ] signup via social login

Started by krejcis,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

krejcisTopic starter

Hi all,
Is this behavior corrrect??:
Let´s imagine that  I have account with same email address in facebook and google.

when I will sign up in PHP vibe site with facebook login and then with google login it will create 2 profiles wit sam email adress
I would expect that email adress is unique identifier and can´t be 2 user with same email adress.

How to fix it?? and what is your opinion??
thanks
Jan
  •  

Marius

I'll look into this Jan! Should not happen, but lately many developers have been contributing, so I have to check if somewhere a bug slipped.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

krejcisTopic starter

  •  

krejcisTopic starter

QuoteI'll look into this Jan! Should not happen, but lately many developers have been contributing, so I have to check if somewhere a bug slipped.
Hi Mario,
Some updates? I can´t launch my website when this bug is not fixed.:-( thanks
Jan
  •  

Marius

From what I see this is how that login system is intended to work, it uses the query based on the fid (facebook id) and gid (google plus id) and not by mail (which servers better in case you change mail at facebook, etc.)
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

krejcisTopic starter

Do you know how to fix it or we need freelancer support for example...with this i am not familiar..thanks
  •  

Marius

Hi,
lib/functions.user.php line

public static function checkUser($userData) {



copy paste the e-mail check from google to facebook also.
If this helped, consider buying me a coffee.
20 years coding, tweaking, building in PHP. Still creating!
  •  

Similar topics (7)