|
|
|
|
@ -19,6 +19,8 @@ require_once api_get_path(LIBRARY_PATH).'mail.lib.inc.php'; |
|
|
|
|
|
|
|
|
|
$htmlHeadXtra[] = api_get_password_checker_js('#username', '#pass1'); |
|
|
|
|
|
|
|
|
|
// User is not allowed if Terms and Conditions are disabled and |
|
|
|
|
// registration is disabled too. |
|
|
|
|
$isNotAllowedHere = api_get_setting('allow_terms_conditions') === 'false' && |
|
|
|
|
api_get_setting('allow_registration') === 'false'; |
|
|
|
|
|
|
|
|
|
|