{% include './widget/menu.html' with {current: 'security'} %}
{% set smessage = req.flash('successMessage') %}
{% if smessage.length %}
{% for e in smessage %}
{{ e }}
{% endfor %}
{% endif %}
{% set emessage = req.flash('errorMessage') %}
{% if emessage.length %}
{% endfor %}
{% for e in emessage %}
{{ e }}
{% endfor %}
{% endif %}
{% endfor %}
{% set isOfficialConfigurationVisible = !isEnabledPassport() %}
{% set isRestartingServerNeeded = isPassportLocalStrategySetup() %}
{#
# passport settings nav
#}
{% set isPassportConfigurationVisible = settingForm['security:isEnabledPassport'] %}
Restarting the server is needed. The server is running with Passport authentication mechanism.
{% set isRestartingServerNeeded = !isPassportLocalStrategySetup() %}
Restarting the server is needed. The server is running with Official Crowi authentication mechanism.
{% include './widget/passport/ldap.html' with { settingForm: settingForm } %}
{% include './widget/passport/google-oauth.html' %}
{% include './widget/passport/facebook.html' %}
{% include './widget/passport/twitter.html' %}
{% include './widget/passport/github.html' %}