diff --git a/main/auth/inscription.php b/main/auth/inscription.php index e099e96c29..9f50a6ad01 100644 --- a/main/auth/inscription.php +++ b/main/auth/inscription.php @@ -17,6 +17,7 @@ require_once api_get_path(LIBRARY_PATH).'usermanager.lib.php'; require_once api_get_path(CONFIGURATION_PATH).'profile.conf.php'; require_once api_get_path(LIBRARY_PATH).'mail.lib.inc.php'; require_once api_get_path(LIBRARY_PATH).'legal.lib.php'; +require_once api_get_path(LIBRARY_PATH).'custompages.lib.php'; // Load terms & conditions from the current lang if (api_get_setting('allow_terms_conditions') == 'true') { diff --git a/main/auth/lostPassword.php b/main/auth/lostPassword.php index 172ab839da..4480a631d3 100644 --- a/main/auth/lostPassword.php +++ b/main/auth/lostPassword.php @@ -21,6 +21,7 @@ require_once '../inc/global.inc.php'; require_once api_get_path(LIBRARY_PATH).'login.lib.php'; require_once api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php'; require_once api_get_path(LIBRARY_PATH).'mail.lib.inc.php'; +require_once api_get_path(LIBRARY_PATH).'custompages.lib.php'; // Custom pages // Had to move the form handling in here, because otherwise there would already be some display output.