From: Jens Frank Date: Sun, 15 Aug 2004 20:00:14 +0000 (+0000) Subject: Bugfix: When cookies are disabled, don't show login screen twice X-Git-Tag: 1.5.0alpha1~2324 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=3cdced2790ee0ed0ccf18709ff34489812486db5;p=lhc%2Fweb%2Fwiklou.git Bugfix: When cookies are disabled, don't show login screen twice --- diff --git a/includes/SpecialUserlogin.php b/includes/SpecialUserlogin.php index 46cb2795a6..97814b6538 100644 --- a/includes/SpecialUserlogin.php +++ b/includes/SpecialUserlogin.php @@ -50,6 +50,7 @@ class LoginForm { function execute() { if ( !is_null( $this->mCookieCheck ) ) { $this->onCookieRedirectCheck( $this->mCookieCheck ); + return; } else if( $this->mPosted ) { if( $this->mCreateaccount ) { return $this->addNewAccount();