We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46015
    • 2 Posts
    Description of Problem:
    Login in web will not work when not logged in to manager

    Steps to Reproduce:

    • Install
    • define user: member
    • Install Login
    • resource group: "memberdocs"
    • user group "membergroep", attach resource group to user group
    • Define home page (not in any resource group) and add: [[!Login? &loginResourceId=`9`]] where resource 9 is a page in the memberdocs
    • logout of manager
    • go to home page and try to login as member of administrator

    Expected Outcome:
    Login and go to resource 9

    But: no login, redirect to resource 9, but since it is in the memberdocs, I stay on the Home Page, while the browser shows the URL of resource 9 in the address bar.


    • MODX Version:2.2.10-pl (traditional)
    • PHP Version: 5.3
    • Database (MySQL, SQL Server, etc) Version:
    • Additional Server Info:
    • Installed MODX Add-ons: Login, Quip

    Disclaimer
    This is my first post as a completely new MODx user and not native English, so if you are willing to reply, please help me using "easy" English

      • 3749
      • 24,544 Posts
      Did you flush permissions and sessions on the Security menu after setting up the user and resource groups?
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 46015
        • 2 Posts
        Quote from: BobRay at Jan 17, 2014, 09:25 PM
        Did you flush permissions and sessions on the Security menu after setting up the user and resource groups?

        Hi Bob, thanks for your directions. I already saw that flushing is necessary, so I already did this. After some searching we (my team mate and me) found out that some settings in the template killed the session, so the user never got logged in. This did not happen in the manager, because this used another template.

        Thanks again, Tammo ter Hark
          • 3749
          • 24,544 Posts
          I'm glad you got it sorted. Thanks for reporting back. smiley
            Did I help you? Buy me a beer
            Get my Book: MODX:The Official Guide
            MODX info for everyone: http://bobsguides.com/modx.html
            My MODX Extras
            Bob's Guides is now hosted at A2 MODX Hosting