diff --git a/api/src/Framework/Login.php b/api/src/Framework/Login.php index 98b01428f5..28504840e1 100644 --- a/api/src/Framework/Login.php +++ b/api/src/Framework/Login.php @@ -132,17 +132,18 @@ class Login if($config_reg['enable_registration']) { + $lang = $_GET['lang'] ? $_GET['lang'] : $GLOBALS['egw_info']['user']['preferences']['common']['lang']; if ($config_reg['register_link']) { - $reg_link=' '.lang('Sigup').''; + $reg_link=' '.lang('Sigup').''; } if ($config_reg['lostpassword_link']) { - $lostpw_link=' '.lang('Lost password').''; + $lostpw_link=' '.lang('Lost password').''; } if ($config_reg['lostid_link']) { - $lostid_link=' '.lang('Lost Login Id').''; + $lostid_link=' '.lang('Lost Login Id').''; } /* if at least one option of "registration" is activated display the registration section */