From 3cdced2790ee0ed0ccf18709ff34489812486db5 Mon Sep 17 00:00:00 2001 From: Jens Frank Date: Sun, 15 Aug 2004 20:00:14 +0000 Subject: [PATCH] Bugfix: When cookies are disabled, don't show login screen twice --- includes/SpecialUserlogin.php | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.20.1