We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40122
    • 330 Posts
    I want to try and update users usernames, but I cant figure out how using LoginLogin. The example only shows 'Full Name'.

    Would anyone know how to do this?

    Many thanks!
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Using the UpdateProfile snippet you can update the username to be a field in the Profile.

      syncUsername - If set to a column name in the Profile, UpdateProfile will attempt to sync the username to this field after a successful save.

      Do you as the site admin want to update the username, or do you want to allow the user to update the username?

        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 40122
        • 330 Posts
        Quote from: sottwell at Feb 27, 2015, 01:46 AM

        Do you as the site admin want to update the username, or do you want to allow the user to update the username?


        Sorry for the late reply Sottwell.

        I want users to be able to update their own profiles