From 2c9759c3b329eff455b3998d748292d581635f90 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 16 Jan 2009 20:19:49 +0000 Subject: [PATCH] trac750 Don't accidentally show login form after user logs in --- actions/facebookhome.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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() -- 2.39.5