Disable the username and password field 2.6.4

I have been searching for a way to disable the username and password fields on edit profile because I am using a single sign on. I seen something about the profile controller but not sure what to do... also I wanted to add text above the word username to say handled by single sign in

Comments

  • LincLinc Director of Development Detroit Vanilla Staff
    edited January 26

    Set these to false in your config: Garden.Profile.EditUsernames, and Garden.Profile.EditEmails.

  • @Linc thanks for the reply but those are not in the config file 😥

  • I tried the following but still able to edit usernames and emails


    $Configuration['Garden']['Profile']['EditUsernames'] = 'false';

    $Configuration['Garden']['Profile']['EditEmails'] = 'false';

  • LincLinc Director of Development Detroit Vanilla Staff

    Don’t quote the false.

    Noirkai
Sign In or Register to comment.