| 1 |
<?php |
<?php |
| 2 |
// $Id: logintoboggan.module,v 1.171 2009/10/21 19:04:20 thehunmonkgroup Exp $ |
// $Id: logintoboggan.module,v 1.172 2009/10/25 16:42:25 thehunmonkgroup Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 228 |
// Admin created accounts are only validated by the module. |
// Admin created accounts are only validated by the module. |
| 229 |
if (user_access('administer users')) { |
if (user_access('administer users')) { |
| 230 |
$form['#validate'][] = 'logintoboggan_user_register_validate'; |
$form['#validate'][] = 'logintoboggan_user_register_validate'; |
|
break; |
|
| 231 |
} |
} |
| 232 |
$mail = variable_get('logintoboggan_confirm_email_at_registration', 0); |
$mail = variable_get('logintoboggan_confirm_email_at_registration', 0); |
| 233 |
$pass = !variable_get('user_email_verification', TRUE); |
$pass = !variable_get('user_email_verification', TRUE); |