We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10405
    • 288 Posts
    Hi, I'm using the Login package to authenticate two different groups of users on a site, who will have separate access to distinct sets of pages in two separate resource groups.

    I've set up the resource groups, set up users in access groups and given access to the access groups, access type - Resource and context is web.

    Works fine EXCEPT that i can't seem to have two instances of Login on the same page. What I want is the following for the login forms, basically: (let's call them type 1 and type 2 users for now)

    <h3>Type 1 users log in here:</h3>
    <p>[[!Login? &loginResourceId=`8`]]</p>
    <h3>Type 2 users log in here:</h3>
    <p>[[!Login? &loginResourceId=`9`]]</p>
    


    The resources have been placed in their containers and access permissions set to the appropriate resource group. As I say it works fine but ONLY if I remove one of the Login snippets above. If I remove the Type 1 call, Type 2 works, and vice versa. But if I have them both, Type 1 will work but Type 2 will not.

    I really need the page set up like this rather than have two separate login pages. Anyone know a\ way around this?

    Thanks