Reply to thread

Probably would be best to allow your users to change their passwords regardless of it being a Facebook linked account.

Better still, make them change their password before continuing if they registered with Facebook.

This script allows users (who are registered via Facebook) to use either Facebook connect or a password.

Now, since the password is pre-defined, if anyone knew you were using this script and knew which user logged in / registered with Facebook, that person would know the password to be "NaN". Which is why I recommended you either change the pre-defined password to a more complex password or (if you know how) have PHP generate a random one.


Top