From: Roland Häder Date: Tue, 2 Aug 2016 09:25:04 +0000 (+0200) Subject: Continued a bit: (please cherry-pick) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=45e170db8cd49bf3800671baef75cf76248c3237;p=jfinancials-war.git Continued a bit: (please cherry-pick) - that the user must change password enforced by administrator may be not wanted everywhere, so better make it as a feature that can be disabled per project - ignored some strings for i18n Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/addressbook/beans/login/AddressbookUserLoginWebSessionBean.java b/src/java/org/mxchange/addressbook/beans/login/AddressbookUserLoginWebSessionBean.java index 749a5d9c..50beb849 100644 --- a/src/java/org/mxchange/addressbook/beans/login/AddressbookUserLoginWebSessionBean.java +++ b/src/java/org/mxchange/addressbook/beans/login/AddressbookUserLoginWebSessionBean.java @@ -58,12 +58,12 @@ public class AddressbookUserLoginWebSessionBean extends BaseAddressbookControlle /** * Path name for guest base template */ - private static final String GUEST_BASE_TEMPLATE_NAME = "guest/guest"; + private static final String GUEST_BASE_TEMPLATE_NAME = "guest/guest"; //NOI18N /** * Path name for logged-in user base template */ - private static final String USER_BASE_TEMPLATE_NAME = "login/user/user"; + private static final String USER_BASE_TEMPLATE_NAME = "login/user/user"; //NOI18N /** * Serial number diff --git a/web/WEB-INF/templates/admin/user/admin_form_user_data.tpl b/web/WEB-INF/templates/admin/user/admin_form_user_data.tpl index e8b209de..ae979a96 100644 --- a/web/WEB-INF/templates/admin/user/admin_form_user_data.tpl +++ b/web/WEB-INF/templates/admin/user/admin_form_user_data.tpl @@ -52,17 +52,19 @@
-
-
- -
+ +
+
+ +
-
- -
+
+ +
-
-
+
+
+
    diff --git a/web/WEB-INF/web.xml b/web/WEB-INF/web.xml index 8fe1ee2c..3e7ecd84 100644 --- a/web/WEB-INF/web.xml +++ b/web/WEB-INF/web.xml @@ -77,6 +77,11 @@ is_feature_privacy_enabled true + + Feature: Users must change password after login (with current password). Administrators can enforce this. + is_feature_user_must_change_password_enabled + true + Faces Servlet javax.faces.webapp.FacesServlet diff --git a/web/user/login_change_email_address.xhtml b/web/user/login_change_email_address.xhtml index 3fb7ca98..d42ad5a4 100644 --- a/web/user/login_change_email_address.xhtml +++ b/web/user/login_change_email_address.xhtml @@ -15,7 +15,7 @@ - +
    diff --git a/web/user/login_change_personal_data.xhtml b/web/user/login_change_personal_data.xhtml index ee9f01fa..088c5581 100644 --- a/web/user/login_change_personal_data.xhtml +++ b/web/user/login_change_personal_data.xhtml @@ -15,7 +15,7 @@ - +
    diff --git a/web/user/login_contact_data_saved.xhtml b/web/user/login_contact_data_saved.xhtml index 5be91812..f33cf16a 100644 --- a/web/user/login_contact_data_saved.xhtml +++ b/web/user/login_contact_data_saved.xhtml @@ -15,7 +15,7 @@ - + diff --git a/web/user/login_edit_user_data.xhtml b/web/user/login_edit_user_data.xhtml index 1270ebf0..fbdda7de 100644 --- a/web/user/login_edit_user_data.xhtml +++ b/web/user/login_edit_user_data.xhtml @@ -15,7 +15,7 @@ - +
    @@ -27,13 +27,13 @@
      - +
    • - +
    • diff --git a/web/user/login_index.xhtml b/web/user/login_index.xhtml index c9f81237..b85c6661 100644 --- a/web/user/login_index.xhtml +++ b/web/user/login_index.xhtml @@ -15,7 +15,7 @@ - + Here goes your content. diff --git a/web/user/login_user_data_saved.xhtml b/web/user/login_user_data_saved.xhtml index b6e46385..f0831d0b 100644 --- a/web/user/login_user_data_saved.xhtml +++ b/web/user/login_user_data_saved.xhtml @@ -15,7 +15,7 @@ - +