Shade- / MyFacebook-Connect

A plugin to integrate Facebook with MyBB, letting users login and register through Facebook.
27 stars 24 forks source link

Can you clarify me what happens with duplicate users? #6

Closed NewEraCracker closed 11 years ago

NewEraCracker commented 11 years ago

I am wondering what would be the result of having an user in my board, and then having another, via facebook with the same name, registering in my board.

Is the 2nd user shown an error message? If so, is there any way to correct their username and to register?

Please excuse me if this is already documented, I haven't yet taken a good look at the documentation regarding this subject.

Regards, NewEraCracker

Shade- commented 11 years ago

MyFacebook Connect, as well as all the other MyConnect plugins, acts exactly as the normal registration process. This means that if you're using Fast registration (one click) option enabled, you have user ABC already registered in your board and ABC from Facebook wants to register, the plugin will use the core methods to check and validate the registration: in this case, a registration page will be prompted to the user together with the error "This username is already taken. Please choose another username". And he will be asked to do so by submitting a form.

This behavior happens also with other limitations. For example, if you have a third party plugin that restricts usernames to not have strange symbols, then if a Facebook user has a banned character an error will be prompted to the user asking to change his username.

NewEraCracker commented 11 years ago

Thanks for the clarification.

Keep up the good work.