Update to 2022-08-29 21:00

This commit is contained in:
Daniel Berteaud
2022-08-29 21:00:19 +02:00
parent b213df4df4
commit af54ca5dc1
4 changed files with 10 additions and 10 deletions

View File

@@ -9,4 +9,4 @@ var penpotLoginWithLDAP = true;
{% endif %}
var penpotRegistrationEnabled = {{ penpot_allow_user_registration | ternary('true', 'false') }};
var penpotAnalyticsEnabled = false;
var penpotFlags = "{{ penpot_allow_user_registration | ternary('enable-registration', '') }}";
var penpotFlags = "{{ penpot_flags | join(' ') }}";

View File

@@ -41,9 +41,8 @@ PENPOT_SMTP_PASSWORD={{ penpot_smtp_pass }}
PENPOT_SMTP_TLS={{ penpot_smtp_tls | ternary('true','false') }}
PENPOT_SMTP_SSL={{ penpot_smtp_ssl | ternary('true','false') }}
# Feature flags. Right now they are only affect frontend, but in
# future release they will affect to both backend and frontend.
PENPOT_FLAGS="{{ penpot_allow_user_registration | ternary('enable-registration', '') }}"
# Feature flags (registration, auth methods etc.)
PENPOT_FLAGS="{{ penpot_flags | join(' ') }}"
# Comma separated list of allowed domains to register. Empty to allow all.
PENPOT_REGISTRATION_DOMAIN_WHITELIST="{{ penpot_user_registration_allowed_domains | join(',') }}"
@@ -73,6 +72,4 @@ PENPOT_LDAP_BIND_PASSWORD={{ penpot_ldap_bind_pass }}
PENPOT_LDAP_ATTRS_USERNAME={{ penpot_ldap_attr_username }}
PENPOT_LDAP_ATTRS_EMAIL={{ penpot_ldap_attr_email }}
PENPOT_LDAP_ATTRS_FULLNAME={{ penpot_ldap_attr_fullname }}
PENPOT_LDAP_ATTRS_PHOTO={{ penpot_ldap_attr_photo }}
PENPOT_LOGIN_WITH_LDAP=true
{% endif %}