##// END OF EJS Templates
auth: disable password change form for accounts that are not managed by RhodeCode....
auth: disable password change form for accounts that are not managed by RhodeCode. - in case of external accounts such as LDAP/oAuth, password reset doesn't make sense. - make it consisten with other disable forms for external account - fixes #5150

File last commit:

r1275:b650c2de default
r1275:b650c2de default
Show More
my_account_password.html
13 lines | 395 B | text/html | HtmlLexer
<%namespace name="widgets" file="/widgets.html"/>
<%widgets:panel title="${_('Change Your Account Password')}">
% if c.extern_type != 'rhodecode':
<p>${_('Your user account details are managed by an external source. Details cannot be managed here.')}
<br/>${_('Source type')}: <strong>${c.extern_type}</strong>
</p>
% else:
${c.form.render() | n}
% endif
</%widgets:panel>