{% extends '../layout/2column.html' %} {% block html_title %}{{ t('User Settings') }} · {{ path }}{% endblock %} {% block content_head %}
{% endblock %} {% block content_main %}
{% set smessage = req.flash('successMessage') %} {% if smessage.length %}
{{ smessage }}
{% endif %} {% set wmessage = req.flash('warningMessage') %} {% if wmessage.length %}
{{ wmessage }}
{% endif %} {% if req.form.errors.length > 0 %}
    {% for error in req.form.errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}
{{ t('Basic Info') }}
{% if config.crowi['security:registrationWhiteList'] && config.crowi['security:registrationWhiteList'].length %}

{{ t('page_register.form_help.email') }}

    {% for em in config.crowi['security:registrationWhiteList'] %}
  • {{ em }}
  • {% endfor %}

{% endif %}
{{ t('Set Profile Image') }}


{% if user.image %}

{% endif %}

{# /.form-group# #}
{% if isUploadable() %}
{% else %} * {{ t('page_me.form_help.profile_image1') }}
* {{ t('page_me.form_help.profile_image2') }}
{% endif %}
{% if googleLoginEnabled() %}
{# Google Connect #}
{{ t('Google Setting') }} {% set wmessage = req.flash('warningMessage.auth.google') %} {% if wmessage.length %}
{{ wmessage }}
{% endif %}
{% if user.googleId %}

{{ t('Connected') }}

{{ t('page_me.form_help.google_disconnect1') }}
{{ t('page_me.form_help.google_disconnect2') }}

{% if !user.canDisconnectThirdPartyId() %}

{{ t('page_me.can_not_disconnect') }}

{% endif %}
{% else %}

{{ t('page_me.form_help.google_connect1') }}

{% if config.crowi['security:registrationWhiteList'] && config.crowi['security:registrationWhiteList'].length %}

{{ t('page_register.form_help.email') }}
{{ t('page_me.form_help.google_connect2') }}

    {% for em in config.crowi['security:registrationWhiteList'] %}
  • {{ em }}
  • {% endfor %}
{% endif %}
{% endif %}
{# /Google Connect #} {% endif %}
{% if githubLoginEnabled() %}
{# GitHub Connect #}
{{ t('GitHub Setting') }} {% set wmessage = req.flash('warningMessage.auth.github') %} {% if wmessage.length %}
{{ wmessage }}
{% endif %}
{% if user.githubId %}

{{ t('Connected') }}

{{ t('page_me.form_help.github_disconnect1') }}
{{ t('page_me.form_help.github_disconnect2') }}

{% if !user.canDisconnectThirdPartyId() %}

{{ t('page_me.can_not_disconnect') }}

{% endif %}
{% else %}

{{ t('page_me.form_help.github_connect1') }}

{% if config.crowi['security:registrationWhiteList'] && config.crowi['security:registrationWhiteList'].length %}

{{ t('page_register.form_help.email') }}

    {% for em in config.crowi['security:registrationWhiteList'] %}
  • {{ em }}
  • {% endfor %}
{% endif %}
{% endif %}
{# /GitHub Connect #} {% endif %}
{# end of .tab-contents #} {#
ユーザーID (ユーザー名) の変更

すべてのマイページの

ユーザーIDを変更すると、/user/{{ user.username }} 以下のページがすべて /user/新しいユーザーID の下に移動されます。
また、これまでのページにリダイレクトは設定されず、この操作の取り消しもできません。
実行には十分に注意をしてください。

#}
{% endblock content_main %} {% block content_footer %} {% endblock content_footer %} {% block footer %} {% endblock footer %}