X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fcommands%2Fweb%2Fclass_WebLoginCommand.php;h=981ad63a44b4e3a9ea2de5ddeef16ca9e7731c6e;hp=0f6758f69bce0423d351e9ca4c9eecd85f204506;hb=b7ab7631dd8c6e6c8daf8a3f9f12a757bff883a6;hpb=495c78d789898bf419094ace30a1a3ba5c33a2f3 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();