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

    I have a problem with my admin user...

    the password was not working so i click in forget password....

    modx give me access to change my password, after i change it, my ADMIN user appear like role EDITOR...

    so now i cant do any change in the site, because i ave not an administrator role....

    I have access to the database because is my page, can i do something??? how can i change it from the database or some solution please!

    Thanks for any help!!!

    thank you!
      --
      ysanmiguel.com
      • 22303 MODX Staff
      • 10,725 Posts
      Note: If you’re posting about a bug, please state all of your Environment information in your post: Version of MODx, Traditional or Advanced distribution (for Revo), Server OS, Server Version, PHP Version, MySQL Version (client and server), is pdo_mysql installed, your Browser type and version, if you are using any opcode caching such as eAccelerator, APC, winCache, xCache, etc; any relevant errors in core/cache/logs/error.log, and any other environment data we should know. We can’t help you without that information.
        • 33238
        • 388 Posts
        Is not exactly abug, sorry if my post is in the wrong place.. :S

        is evo 1.0.4 and i just need to set role admin to my admin user thats all...
        but not in the mannager interface because i can.t doit there...

        thank you!
          --
          ysanmiguel.com
          • 33238
          • 388 Posts
          I answer my own question...

          if that happens to someone i hope this help!!!

          GO to the DataBase

          select the table name: modx_user_attributes

          EDIT the user that you want to modify...

          the 4th field is ROLE...

          1 means administrator
          2 Editor

          just change it...

          if you are login into modx just logout and login again... that is all.

          thank you any way!!! grin grin grin
            --
            ysanmiguel.com