From b7ab7631dd8c6e6c8daf8a3f9f12a757bff883a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 21 Aug 2009 18:34:52 +0000 Subject: [PATCH] WebLoginCommand is now an extra instance for hashers etc. --- inc/classes/main/commands/web/class_WebLoginCommand.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inc/classes/main/commands/web/class_WebLoginCommand.php b/inc/classes/main/commands/web/class_WebLoginCommand.php index 0f6758f6..981ad63a 100644 --- a/inc/classes/main/commands/web/class_WebLoginCommand.php +++ b/inc/classes/main/commands/web/class_WebLoginCommand.php @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class WebLoginCommand extends BaseCommand implements Commandable { +class WebLoginCommand extends BaseCommand implements Commandable, Registerable { /** * Protected constructor * @@ -57,6 +57,9 @@ class WebLoginCommand extends BaseCommand implements Commandable { * @return void */ public function execute (Requestable $requestInstance, Responseable $responseInstance) { + // Set request instance as extra instance + Registry::getRegistry()->addInstance('extra', $this); + // Get the application instance $appInstance = $this->getResolverInstance()->getApplicationInstance(); -- 2.30.2