We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10313
    • 375 Posts
    Hello,

    is it possible to register new users with the &type=`manager` services? I can edit and delete users, but can’t find a way to register new ones.

    I have two user groups, one of which is kind of an admin. But I don’t want these admins to use the modx back end but the front end.

    Any ideas?

    Thx
    Martin
      • 27442
      • 103 Posts
      The new registration does not appear to be built into the &type=`manager` services, but you can just have the ’kind of admin’ user use the &type=`register` service like normal (on behalf of the user that you’re trying to register).
        • 10313
        • 375 Posts
        Ah yes, that should work. Thanks for the idea.

        Martin
          • 10313
          • 375 Posts
          So, this is not working sad

          I set up a page with type=`register` that is protected against access from non-admins. I can fill the form fields, send the form, get a message, that I should check my mailbox (okay, that’s only text an can be changed, no problem). But the problem is: the currently logged in user (the admin) is automagically logged out on submitting the registry form.

          Can I stop this behavior? Then, all was very fine for me smiley

          Thx
          Martin
            • 10313
            • 375 Posts
            Quote from: FuryDE at Oct 14, 2008, 04:50 AM

            Can I stop this behavior? Then, all was very fine for me smiley
            Yes, we can wink
            Just comment line 723 in webloginpe.class.php so that it reads
            //$this->SessionHandler('destroy');

            For me, it works fine.

            Martin