From 96333505aa50f58b67933ab8dc62eef42842497c Mon Sep 17 00:00:00 2001 From: Jeremy Deloche Date: Tue, 7 Jan 2025 14:08:00 +0100 Subject: [PATCH] LUT-29190: Technical settings : user account - default setting - the value "activated" is not taken into account --- webapp/WEB-INF/templates/admin/user/create_user.html | 4 ++-- .../templates/admin/user/create_user_default_module.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp/WEB-INF/templates/admin/user/create_user.html b/webapp/WEB-INF/templates/admin/user/create_user.html index 65d7b4a0d1..1f7c5b4769 100644 --- a/webapp/WEB-INF/templates/admin/user/create_user.html +++ b/webapp/WEB-INF/templates/admin/user/create_user.html @@ -71,8 +71,8 @@ <@fieldSet legend='#i18n{portal.users.create_user.labelComplementaryAttributes}'> <@formGroup labelFor='status' labelKey='${i18n("portal.users.modify_user.labelStatus")}' rows=2> <@select name="status"> - <@option value="0" selected=default_user_status=1 label='#i18n{portal.users.create_user.statusLabelEnabled}' /> - <@option value="0" selected=default_user_status!=1 label='#i18n{portal.users.create_user.statusLabelDisabled}' /> + <@option value="0" selected=default_user_status!=1 label='#i18n{portal.users.create_user.statusLabelEnabled}' /> + <@option value="1" selected=default_user_status=1 label='#i18n{portal.users.create_user.statusLabelDisabled}' /> <#if displayFieldset( user_levels attributes_list )> diff --git a/webapp/WEB-INF/templates/admin/user/create_user_default_module.html b/webapp/WEB-INF/templates/admin/user/create_user_default_module.html index 848468eb6e..cd75139f20 100644 --- a/webapp/WEB-INF/templates/admin/user/create_user_default_module.html +++ b/webapp/WEB-INF/templates/admin/user/create_user_default_module.html @@ -100,8 +100,8 @@ <@fieldSet legend='#i18n{portal.users.create_user.labelComplementaryAttributes}'> <@formGroup labelKey='#i18n{portal.users.create_user.labelStatus}' labelFor='status' rows=2> <@select id='status' name='status'> - <@option value="0" selected=default_user_status=1 label='#i18n{portal.users.create_user.statusLabelEnabled}' /> - <@option value="0" selected=default_user_status!=1 label='#i18n{portal.users.create_user.statusLabelDisabled}' /> + <@option value="0" selected=default_user_status!=1 label='#i18n{portal.users.create_user.statusLabelEnabled}' /> + <@option value="1" selected=default_user_status=1 label='#i18n{portal.users.create_user.statusLabelDisabled}' /> <#if displayFieldset( user_levels attributes_list )>