From 7069bbe481a30259eaa3ff32d83ce98f30db0b01 Mon Sep 17 00:00:00 2001 From: mb Date: Mon, 9 Nov 2020 12:23:12 +0100 Subject: [PATCH] refactor(user):disable changing email address * disable userprofile extended form. --- invenio_config_tugraz/config.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/invenio_config_tugraz/config.py b/invenio_config_tugraz/config.py index 00cbf55..f41b3e4 100644 --- a/invenio_config_tugraz/config.py +++ b/invenio_config_tugraz/config.py @@ -103,18 +103,24 @@ Set this to False when sending actual emails. # ] # REST_ENABLE_CORS = True - -# Invenio-shibboleth +# Invenio-userprofiles # =========== -# See https://invenio-shibboleth.readthedocs.io/en/latest/configuration.html +# See https://invenio-userprofiles.readthedocs.io/en/latest/configuration.html -USERPROFILES_EXTEND_SECURITY_FORMS = True +USERPROFILES_EXTEND_SECURITY_FORMS = False """Set True in order to register user_profile. This also forces user to add username and fullname when register. """ +USERPROFILES_EMAIL_ENABLED = False +"""Exclude the user email in the profile form.""" + +# Invenio-shibboleth +# =========== +# See https://invenio-shibboleth.readthedocs.io/en/latest/configuration.html + SSO_SAML_IDPS = {} """Configuration of IDPS. Actual values can be find in to invenio.cfg file"""