Fixed login form
authorAlexander Ebert <ebert@woltlab.com>
Tue, 5 Jun 2012 21:10:50 +0000 (23:10 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 5 Jun 2012 21:10:50 +0000 (23:10 +0200)
wcfsetup/install/files/lib/acp/form/LoginForm.class.php

index 0e2f25f3d2f7944641852c6d6073743746b94b3c..3cd737480e5070f1faa53dc060b48acb03b4d2c2 100755 (executable)
@@ -53,12 +53,12 @@ class LoginForm extends AbstractForm {
        /**
         * Creates a new LoginForm object.
         */
-       public function __construct() {
+       public function __run() {
                if (WCF::getUser()->userID) {
                        throw new PermissionDeniedException();
                }
                
-               parent::__construct();
+               parent::__run();
        }
        
        /**