{% include 'widget/logo.html' %}
{{ appTitle() }}
{% if isLdapSetupFailed() %}
{% endif %}
{% set success = req.flash('successMessage') %}
{% if success.length %}
{% endif %}
LDAP is enabled but the configuration has something wrong.
(Please set the environment variables
{% endif %}
{#
# The case that there already exists a user whose username matches ID of the newly created LDAP user
# https://github.com/weseek/growi/issues/193
#}
{% set isDuplicatedUsernameExceptionOccured = req.flash('isDuplicatedUsernameExceptionOccured') %}
{% if isDuplicatedUsernameExceptionOccured != null %}
(Please set the environment variables
DEBUG=crowi:service:PassportService to get the logs)
DuplicatedUsernameException occured
Your LDAP authentication was succeess, but a new user could not be created. See the issue #193.
{{ success }}
{% endif %}
{% set warn = req.flash('warningMessage') %}
{% if warn.length %}
{% for w in warn %}
{{ w }}
{% endfor %}
{% endif %}
{% set error = req.flash('errorMessage') %}
{% if error.length %}
{% for e in error %}
{{ e }}
{% endfor %}
{% endif %}
{% if req.form.errors.length > 0 %}
-
{% for error in req.form.errors %}
- {{ error }} {% endfor %}
{% set message = req.flash('registerWarningMessage') %}
{% if message.length %}
{% for msg in message %}
{{ msg }}
{% endfor %}
{% endif %}
{% endfor %}
{% if googleLoginEnabled() %}
{% endif %}
{% if config.crowi['security:registrationMode'] != 'Closed' %}
{% if config.crowi['security:registrationMode'] != 'Closed' %}
{{ t('Sign up is here') }}
{% else %}
{% endif %}
{% if config.crowi['security:registrationMode'] == 'Restricted' %}
{% endif %} {# if registrationMode == Closed #}
GROWI.ORG
{{ t('page_register.notice.restricted') }}
{{ t('page_register.notice.restricted_defail') }}
{% if googleImage %}
{{ t('page_register.notice.google_account_continue') }}
{% endif %}
{{ googleEmail }} {{ t('page_register with this Google Account') }}{{ t('page_register.notice.google_account_continue') }}