Hi,
I'm impressed by this software. I've tried to enhance it using ldap_login, however I've come across a small issue. Newly created users can go to customise and change their email&password / theme. We can disable the latter but how can we disable the former. So is there an option or can there be an option to disable changing userinfo? Our software does updates them by Windows Active Directory.
I found in ./themes/default/template/profile_content.tpl the following: {if not $SPECIAL_USER} {* can modify password + email*}
and {if $ALLOW_USER_CUSTOMIZATION}
Is this what should be used?
Hi,
I'm impressed by this software. I've tried to enhance it using ldap_login, however I've come across a small issue. Newly created users can go to customise and change their email&password / theme. We can disable the latter but how can we disable the former. So is there an option or can there be an option to disable changing userinfo? Our software does updates them by Windows Active Directory.
I found in ./themes/default/template/profile_content.tpl the following:
`{if not $SPECIAL_USER} {* can modify password + email*}`
and
`{if $ALLOW_USER_CUSTOMIZATION}`
Is this what should be used?
<!-- github-sync-id:543153704 -->
function ld_profile(){
//removes the Profile/Registration block for new users. (admin/guest excluded)
global $template;
global $userdata;
if($userdata['id']>2){
$template->assign('SPECIAL_USER', True);
}
}
For now I've got a workaround in my main.inc.php:
```
function ld_profile(){
//removes the Profile/Registration block for new users. (admin/guest excluded)
global $template;
global $userdata;
if($userdata['id']>2){
$template->assign('SPECIAL_USER', True);
}
}
```
<!-- github-comment-id:569423861 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi,
I'm impressed by this software. I've tried to enhance it using ldap_login, however I've come across a small issue. Newly created users can go to customise and change their email&password / theme. We can disable the latter but how can we disable the former. So is there an option or can there be an option to disable changing userinfo? Our software does updates them by Windows Active Directory.
I found in ./themes/default/template/profile_content.tpl the following:
{if not $SPECIAL_USER} {* can modify password + email*}and
{if $ALLOW_USER_CUSTOMIZATION}Is this what should be used?
For now I've got a workaround in my main.inc.php: