trac750 Don't accidentally show login form after user logs in
This commit is contained in:
parent
3bb7ea79c0
commit
2c9759c3b3
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user