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

    Is it possible to send an e-mail to all the users of a modx revolution site containing the login and current password in clear ?

    Thanks,

    Sub [ed. note: subran last edited this post 12 years, 2 months ago.]
      • 31946
      • 116 Posts
      Hi subran,

      I don't think this is possible, since the password is only stored encrypted in the database.
      You would have to change the password and send the new one to your Users.
        • 3749
        • 24,544 Posts
        Even if it could be done, it would compromise the security quite a bit. The passwords would pass through a lot of servers before they reached the users. They could be read by anyone with access to those servers.

        I wouldn't consider it unless you forced the users to change the password the next time they log in (unless you don't really need security for the site).


        ---------------------------------------------------------------------------------------------------------------
        PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
        MODx info for everyone: http://bobsguides.com/modx.html
          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
          • 36098
          • 46 Posts
          Ok, I understand it.

          I have to see how to implement password recovery and change of their profile.

          Btw. is it possible to force a password with minimum a capital letter and minimum 1 number?
          I found how to force 6 caracters but nothing more.

          Thanks for your help,

          Sub
            • 36098
            • 46 Posts
            Ok, I understand it.

            I have to see how to implement password recovery and change of their profile.

            Btw. is it possible to force a password with minimum a capital letter and minimum 1 number?
            I found how to force 6 caracters but nothing more.

            Thanks for your help,

            Sub
              • 3749
              • 24,544 Posts
              In the Manager or the front end? I not sure there's a good way to do it in the Manager without hacking the core code. You might be able to check in a plugin attached to OnBeforeUserFormSave, with some JavaScript that would pop up with a warning, then redirect to the profile page.


              ---------------------------------------------------------------------------------------------------------------
              PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
              MODx info for everyone: http://bobsguides.com/modx.html
                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
                • 36098
                • 46 Posts
                Ok, so it's not possible to send an e-mail with login and password
                I will close this topic and make a new one cfr. form validation

                Thanks for your help [ed. note: subran last edited this post 12 years, 2 months ago.]