diff --git a/rero_ils/config.py b/rero_ils/config.py index 362a5c5f40..9ba333c899 100644 --- a/rero_ils/config.py +++ b/rero_ils/config.py @@ -257,6 +257,15 @@ def _(x): #: proxies) removes these headers again before sending the response to the #: client. Set to False, in case of doubt. ACCOUNTS_USERINFO_HEADERS = False + +# User profile +RERO_PUBLIC_USERPROFILES_READONLY = False +RERO_PUBLIC_USERPROFILES_READONLY_FIELDS = [ + 'first_name', + 'last_name', + 'birth_date' +] + # Disable User Profiles USERPROFILES = True USERPROFILES_COUNTRIES = get_profile_countries diff --git a/rero_ils/modules/ill_requests/templates/rero_ils/ill_request_form.html b/rero_ils/modules/ill_requests/templates/rero_ils/ill_request_form.html index fcf3f59b10..55651a03e1 100644 --- a/rero_ils/modules/ill_requests/templates/rero_ils/ill_request_form.html +++ b/rero_ils/modules/ill_requests/templates/rero_ils/ill_request_form.html @@ -27,7 +27,7 @@
{{ _('A well detailed request is more likely to be satisfied') }}
-