mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
refactor(user):disable changing email address
* disable userprofile extended form.
This commit is contained in:
@@ -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"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user