We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28673
    • 178 Posts
    Hi! I’ve just changed my admin password, but now I can’t login anymore!
    It’s the only user...
    So I’ve tried the Forgot your Login? feature, but it gives me ’Error while sending mail to [email protected]’

    what can I do then, to login again???
    I see that in the modx_user table ther’s the password hash. Can I maybe change that record with a new hash? And in this case, what is the used algorithm? sha1? md5?

    Any other way? I’m quite in trouble now, without any login...

    Thank you

      • 28673
      • 178 Posts
      Found my answers:

      1. Excuse me, I’m currently on 2.0.8pl, so maybe you administrators want to move this post to the revo 2.0 board

      2. It’s md5 not sha1

      3. Yes, it works. Go to modx_users, change the relevant hash and that’s it. You can find many md5 (as well as sha1) free generators online, if you don’t have one.

      Thank you anyway.



        • 32316
        • 387 Posts
        I just posted about this (well actually how to reset in revo 2.1) and included a hash:
        http://modxcms.com/forums/index.php/topic,66242.msg373688.html#msg373688

        Just don’t lose your username and password for your database!!! smiley
          • 28673
          • 178 Posts
          Ciao! Ho risolto da solo alla fine:

          http://modxcms.com/forums/index.php?topic=66314.new;topicseen#new

          md5. E basta cambiare l’hash nel db.
          In un altro articolo parlano anche del salt e altra roba ma, almeno in revo 2.0.8 (si, ora mi aggiorno.. tongue), non ho dovuto aggiungere il sale, mi è bastato generarmi un’altro hash per una pwrd nota (e senza sale) e sostituirlo in modx_users.

          Grazie comunque,

          Luca