diff --git a/e107_core/shortcodes/batch/usersettings_shortcodes.php b/e107_core/shortcodes/batch/usersettings_shortcodes.php index 8443a37ed..d8d34fb6a 100755 --- a/e107_core/shortcodes/batch/usersettings_shortcodes.php +++ b/e107_core/shortcodes/batch/usersettings_shortcodes.php @@ -194,9 +194,10 @@ class usersettings_shortcodes extends e_shortcode $options = array( 'size' => 40, 'title' => '', - 'required' => true, ); + if (e107::getPref('disable_emailcheck') == 0) $options['required'] = true; + if(!empty($sc->var['user_email']) && !empty($sc->var['user_xup'])) // social login active. { $options['readonly'] = true;