trac750 Don't accidentally show login form after user logs in
This commit is contained in:
parent
3bb7ea79c0
commit
2c9759c3b3
@ -71,8 +71,8 @@ class FacebookhomeAction extends FacebookAction
|
|||||||
// XXX: Do some error handling here
|
// XXX: Do some error handling here
|
||||||
|
|
||||||
$this->setDefaults();
|
$this->setDefaults();
|
||||||
|
|
||||||
$this->showHome($flink, _('You can now use Identi.ca from Facebook!'));
|
$this->showHome($flink, _('You can now use Identi.ca from Facebook!'));
|
||||||
|
return;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$msg = _('Incorrect username or password.');
|
$msg = _('Incorrect username or password.');
|
||||||
@ -80,6 +80,7 @@ class FacebookhomeAction extends FacebookAction
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->showLoginForm($msg);
|
$this->showLoginForm($msg);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function setDefaults()
|
function setDefaults()
|
||||||
|
Loading…
Reference in New Issue
Block a user