public function activateFirstAdmin(AnCommandContext $context)
    {
        $person = $context->result;
        $url = route('option=com_people&view=session&isFirstPerson=1&token='.$person->activationCode);
        $context->response->setRedirect($url);
    }
public function activateFirstAdmin(AnCommandContext $context)
    {
        $person = $context->result;
        $url = route('option=com_people&view=session&isFirstPerson=1&token='.$person->activationCode);
        $context->response->setRedirect($url);
    }
public function activateFirstAdmin ( AnCommandContext $ context ) { $ person = $ context -> result ; $ url = route ( 'option=com_people&view=session&isFirstPerson=1&token=' . $ person -> activationCode ) ; $ context -> response -> setRedirect ( $ url ) ; }
Autologin the first user which is also the first super admin.

@param AnCommandContext $context The context parameter
Autologin the first user which is also the first super admin .