diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-01-16 20:19:49 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-01-16 20:23:11 +0000 |
commit | 2c9759c3b329eff455b3998d748292d581635f90 (patch) | |
tree | 24ad3511f98449f2c728e494c7be4c322306288f | |
parent | 3bb7ea79c023cc7260e456b6e1f17526494e5424 (diff) |
trac750 Don't accidentally show login form after user logs in
-rw-r--r-- | actions/facebookhome.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/facebookhome.php b/actions/facebookhome.php index f72f08a34..b780b8cc3 100644 --- a/actions/facebookhome.php +++ b/actions/facebookhome.php @@ -71,15 +71,16 @@ class FacebookhomeAction extends FacebookAction // XXX: Do some error handling here $this->setDefaults(); - $this->showHome($flink, _('You can now use Identi.ca from Facebook!')); - + return; + } else { $msg = _('Incorrect username or password.'); } } $this->showLoginForm($msg); + } function setDefaults() |