Minor - move ExternalAuthentication label

1.10.x
Julio Montoya 9 years ago
parent 406772b03e
commit 40e87f9ece
  1. 8
      main/admin/user_edit.php

@ -171,11 +171,17 @@ if (api_get_setting('login_is_email') != 'true') {
$form->addRule('username', get_lang('UserTaken'), 'username_available', $user_data['username']);
}
if (isset($extAuthSource) && !empty($extAuthSource) && count($extAuthSource) > 0) {
$form->addLabel(
get_lang('ExternalAuthentication'),
$userInfo['auth_source']
);
}
// Password
$form->addElement('radio', 'reset_password', get_lang('Password'), get_lang('DontResetPassword'), 0);
$nb_ext_auth_source_added = 0;
if (isset($extAuthSource) && !empty($extAuthSource) && count($extAuthSource) > 0) {
$form->addLabel(get_lang('ExternalAuthentication'), $userInfo['auth_source']);
$auth_sources = array();
foreach ($extAuthSource as $key => $info) {
// @todo : make uniform external authentication configuration (ex : cas and external_login ldap)

Loading…
Cancel
Save