user: forbid manage of emails for external accounts.
- e.g LDAP accounts shouldn't allow to add additional emails.
This commit is contained in:
parent
51215261f4
commit
9d34384bc9
1 changed files with 6 additions and 0 deletions
|
|
@ -47,8 +47,14 @@
|
|||
</table>
|
||||
</div>
|
||||
|
||||
% if c.user.extern_type != 'rhodecode':
|
||||
<p>${_('Your user account details are managed by an external source. Details cannot be managed here.')}
|
||||
<br/>${_('Source type')}: <strong>${c.user.extern_type}</strong>
|
||||
</p>
|
||||
% else:
|
||||
<div>
|
||||
${c.form.render() | n}
|
||||
</div>
|
||||
% endif
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue