Disable user profile edit?

theoth picture theoth · Apr 3, 2012 · Viewed 7.7k times · Source

How do I stop registered users from changing their details like their username etc (via edit profile) in the frontend?

Answer

bhavesh Khatri picture bhavesh Khatri · Feb 23, 2013

open components\com_users\models\forms\profile.xml and then edit:

<field name="password1" type="password"
  readonly="true"
/>