Frontend\Modules\Profiles\Actions\ResendActivation::execute PHP Method

execute() public method

Execute the extra
public execute ( )
    public function execute()
    {
        // profile not logged in
        if (!FrontendProfilesAuthentication::isLoggedIn()) {
            parent::execute();
            $this->loadTemplate();
            $this->loadForm();
            $this->validateForm();
            $this->parse();
        } else {
            // profile logged in
            $this->redirect(FrontendNavigation::getURL(404));
        }
    }