Page 1 of 1

Link requires login

Posted: Tue Aug 02, 2022 10:19 am
by Pierre_P
Somehow i manged to create a link but it first wants me to login

I created an extra_info_pages.php where all info pages links are displayed, so to get to this info pages i created a box with only one link.
If signed out, it requires me to login first and then take me to page.
Users needs to access pages without logging in

Any pointers to why this is happening
Thanks

Code: Select all

<div class="card mb-2 bm-extrainfopages">
    <div class="card-header">
        <?= MODULE_BOXES_EXTRAINFOPAGE_TITLE ?>
    </div>
    <div class="list-group list-group-flush">
        <?= '<a class="list-group-item list-group-item-action" href="' . $GLOBALS['Linker']->build('extra_info_pages.php') . '">' . EXTRA_INFORMATION_PAGES_LINK . '</a>' ; ?>
    </div>
</div>

Re: Link requires login

Posted: Tue Aug 02, 2022 11:06 am
by Piernas
That code seems top work fine, maybe there's something in your extra_info_pages.php.

Re: Link requires login

Posted: Tue Aug 02, 2022 12:43 pm
by Pierre_P
Piernas wrote: Tue Aug 02, 2022 11:06 am That code seems top work fine, maybe there's something in your extra_info_pages.php.
Thanks @Piernas
copy/paste and I did not remove - $hooks->register_pipeline('loginRequired');