# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. Index: contributions/modules/logintoboggan/logintoboggan.module --- contributions/modules/logintoboggan/logintoboggan.module Base (1.204) +++ contributions/modules/logintoboggan/logintoboggan.module Locally Modified (Based On 1.204) @@ -387,6 +387,14 @@ } } break; + case 'user_admin_settings': + //Disable the checkbox at the Account settings page which controls wether e-mail verification is required + //upon registration or not. The LoginToboggan module implements e-mail verification functionality slightly + //different than core, and will control wether e-mail verification is required or not. + $form['registration_cancellation']['user_email_verification']['#disabled'] = true; + $form['registration_cancellation']['user_email_verification']['#value'] = variable_get('user_email_verification', TRUE) ? 1 : 0; + $form['registration_cancellation']['user_email_verification']['#description'] = t('This setting has been locked by the LoginToboggan module. You can change this setting by modifying the Set password checkbox at !link ', array('!link' => l('the LoginToboggan settings page', 'admin/config/system/logintoboggan'))); + break; } }