mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
extra information on config variables.
This commit is contained in:
@@ -137,7 +137,24 @@ able to register, or to navigate to /sigup page.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
SECURITY_CONFIRMABLE = False
|
SECURITY_CONFIRMABLE = False
|
||||||
"""Allow user to confirm their email address."""
|
"""Allow user to confirm their email address.
|
||||||
|
|
||||||
|
Instead user will get a welcome email.
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
ACCOUNTS = True
|
||||||
|
"""Tells if the templates should use the accounts module.
|
||||||
|
|
||||||
|
If False, you won't be able to login via the web UI.
|
||||||
|
|
||||||
|
Instead if you have a overriden template somewhere in your config.py:
|
||||||
|
like this:
|
||||||
|
SECURITY_LOGIN_USER_TEMPLATE = 'invenio_theme_tugraz/accounts/login.html'
|
||||||
|
then you can remove this condition from header_login.htm:
|
||||||
|
{%- if config.ACCOUNTS %}
|
||||||
|
to render your overriden login.html
|
||||||
|
"""
|
||||||
|
|
||||||
# Accounts
|
# Accounts
|
||||||
# ========
|
# ========
|
||||||
|
|||||||
Reference in New Issue
Block a user