summaryrefslogtreecommitdiff
path: root/actions/facebookhome.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-01-16 20:19:49 +0000
committerZach Copley <zach@controlyourself.ca>2009-01-16 20:23:11 +0000
commit2c9759c3b329eff455b3998d748292d581635f90 (patch)
tree24ad3511f98449f2c728e494c7be4c322306288f /actions/facebookhome.php
parent3bb7ea79c023cc7260e456b6e1f17526494e5424 (diff)
trac750 Don't accidentally show login form after user logs in
Diffstat (limited to 'actions/facebookhome.php')
-rw-r--r--actions/facebookhome.php5
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()