From: Roland Häder Date: Fri, 21 Aug 2009 18:34:52 +0000 (+0000) Subject: WebLoginCommand is now an extra instance for hashers etc. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b7ab7631dd8c6e6c8daf8a3f9f12a757bff883a6;p=core.git WebLoginCommand is now an extra instance for hashers etc. --- 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();