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