=f.text_field:email,required: true,readonly: true,help: "Your email address was automatically set based on your #{email_provider_label} account."
-if@user.read_only_attribute?(:email)
=f.text_field:email,required: true,readonly: true,help: "Your email address was automatically set based on your #{attribute_provider_label(:email)} account."
@@ -224,3 +224,21 @@ By default Sign In is enabled via all the OAuth Providers that have been configu
In order to enable/disable an OmniAuth provider, go to Admin Area -> Settings -> Sign-in Restrictions section -> Enabled OAuth Sign-In sources and select the providers you want to enable or disable.