Preventing default email from being changed

Jump to solution
mzimmerman
Community Contributor

We appreciate the option that Canvas allows for users to create multiple channels to be notified within the system.  However, we are seeing the same issues described inhttps://community.canvaslms.com/message/21238 , where LTI links to external services make use of the default email address to create accounts, and users changing their default email from the official school email is causing problems with with those external services.

From the previously mentioned discussion, it appears that the way to prevent this is to add Javascript to the theme to hide the option for changing the default email address.  (We already have the "Users can delete their institution-assigned email address" setting un-checked...)

However, my JS coding isn't great, and I haven't been able to figure out the JS needed to make this work.  Has anyone else got some code that will do it?

Thanks!

1 Solution
bneporadny
Community Champion

Hi Michael,

The way I have been able to do this for my schools is to add the following lines to our custom css file. 

.email_meta {
display: none;
}

View solution in original post