We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21739
    • 49 Posts
    Super, many thanks!
      • 21739
      • 49 Posts
      I've got everything and up and running, better than expected tbh.
      The only thing I still need to find a solution for is being able to submit or reset the password when creating / editing a new user.
      Any ideas?
        • 4172
        • 5,888 Posts
        have a look into the request, which is done on user-update at the normal user-update-form

        there are fields for:

        newpassword: true
        passwordgenmethod: spec or g
        passwordnotifymethod: s or e
        specifiedpassword:
        confirmpassword:
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 21739
          • 49 Posts
          That gave me the idea to do this when updating an existing user:

                
          if($data['resetpw'] != 1){
              unset($data['password']); 
          }
          


          In other words, I've created a checkbox called "resetpw" in the migx form which allows a password reset.
          Seems to work perfectly.

          Thnx again for all the input!