From: Zach Copley Date: Fri, 16 Jan 2009 20:19:49 +0000 (+0000) Subject: trac750 Don't accidentally show login form after user logs in X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2c9759c3b329eff455b3998d748292d581635f90;p=quix0rs-gnu-social.git trac750 Don't accidentally show login form after user logs in --- diff --git a/actions/facebookhome.php b/actions/facebookhome.php index f72f08a345..b780b8cc32 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()