From 2c4866dbc1278da905fe25b1ad531dad30df74dd Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Mon, 6 Apr 2009 16:55:45 +0200 Subject: [PATCH] [svn r19565] Official code hide see FS#3987 --- main/auth/inscription.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main/auth/inscription.php b/main/auth/inscription.php index 05a848207c..bf7c92c860 100644 --- a/main/auth/inscription.php +++ b/main/auth/inscription.php @@ -1,10 +1,10 @@ addRule('email', get_lang('EmailWrong'), 'email'); if (api_get_setting('openid_authentication')=='true') { $form->addElement('text', 'openid', get_lang('OpenIDURL'), array('size' => 40)); } +/* // OFFICIAL CODE if (CONFVAL_ASK_FOR_OFFICIAL_CODE) { $form->addElement('text', 'official_code', get_lang('OfficialCode'), array('size' => 40)); if (api_get_setting('registration', 'officialcode') == 'true') $form->addRule('official_code', get_lang('ThisFieldIsRequired'), 'required'); } +*/ // USERNAME $form->addElement('text', 'username', get_lang('UserName'), array('size' => 20)); $form->addRule('username', get_lang('ThisFieldIsRequired'), 'required');