{% extends '../layout/2column.html' %} {% block html_title %}ユーザー設定 · {{ 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 %}
ユーザーの基本情報
{# ↓ そのうちこのコードは削除する #} {% if not user.email %}

メールアドレスは登録必須項目です。
(以前のバージョンのWikiで作成されたユーザー情報の場合、メールアドレスが登録されていません)
更新ボタンを押して新規登録してください。

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

この Wiki では以下のメールアドレスのみ登録可能です。

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

{% endif %}
プロフィール画像の設定


{% if user.image %}

{% elseif user.fbId %} プロフィール画像はFacebookから自動的に設定されています。 {% endif %}

{# /.form-group# #}
{% if facebookLoginEnabled() %}
{# Facebook Connect #}
Facebook設定 {% if user.userId %}

接続を解除すると、Facebookを利用してのログインができなくなります。
解除後はメールアドレスとパスワードでログインすることができます。

{% else %}

Facebookコネクトをすると、Facebookでログイン可能になります。
メールアドレスとパスワードでのログインは引き続きご利用いただけます。

{% endif %}
{# /Facebook Connect #} {% endif %} {% if googleLoginEnabled() %}
{# Google Connect #}
Google設定 {% set wmessage = req.flash('warningMessage.auth.google') %} {% if wmessage.length %}
{{ wmessage }}
{% endif %}
{% if user.googleId %}

接続されています

接続を解除すると、Googleでログインができなくなります。
解除後はメールアドレスとパスワードでログインすることができます。

{% else %}

Googleコネクトをすると、Googleアカウントでログイン可能になります。

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

この Wiki では、登録可能なメールアドレスが限定されているため、コネクト可能なGoogleアカウントは、以下のメールアドレスの発行できるGoogle Appsアカウントに限られます。

    {% for em in config.crowi['security:registrationWhiteList'] %}
  • {{ em }}
  • {% endfor %}
{% endif %}
{% endif %}
{# /Google 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 %}