350org/localpower — Issue #138: Facebook Connect user confusion
Author: ejucovy
Created: 2011-10-26 15:32:30+00:00
State: open

If you create an account // log in with facebook, your user account records the fact that you're a `facebook_connect_only` user. As a `facebook_connect_only` user, you can't reset your password, and you can't log in through the site's normal mechanisms -- you *have* to log in by clicking the "Log In With Facebook" button.

This is (sort of) fine, but there are a few places where it's very confusing:

1) When you try to log in normally (maybe you forgot that you don't have a password) it just gives you a standard validation error, "Please enter a correct username and password." This should be changed to "Please log in through Facebook" instead.

2) If you're not logged in, you can activate the site's reset-password mechanisms, and everything appears to work normally: you get the reset-password email; you can click on the link to a password reset form; and you can fill it out and get a "Password changed" success message. But, you then *still* can't log in normally. This should be changed so that if you try to trigger a password reset for a `facebook_connect_only` user, it rejects your attempt up front, saying "Please log in through Facebook" instead.

3) I don't think there's any way to detach your account from Facebook to allow local login later; if you go to the account-edit page's "Social Network" tabs, it tells you "You cannot unlink your facebook account, since you are currently logged in with facebook." Probably a bigger project, but it'd be nice to allow this...