</ui:define>
<ui:define name="content">
- <ui:fragment rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('edit_user_data') and not userLoginController.ifUserMustChangePassword()}">
+ <ui:fragment rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
<div class="table">
<div class="table_header">
<h:outputText value="#{msg.LOGIN_CHANGE_PERSONAL_DATA_TITLE}" />
</div>
- <h:form id="login_change_personal_form">
+ <h:form id="form_login_change_personal">
<ui:include src="/WEB-INF/templates/contact/form_contact_data.tpl" />
<ui:include src="/WEB-INF/templates/login/user/user_enter_current_password.tpl" />