{% extends "admin_layout.html" %} {% import "_page.html" as page_ui %} {% block title %}Spark - Sign-in{% endblock %} {% block page %}
{{ page_ui.header("Sign-in", "How people sign in to this Spark, the default for everyone, and the second factors allowed.") }} {% include "_page_messages.html" %} {% if result %}
Saved
{% if result.moved %}

The default is now {{ result.default_label }}. Everyone who follows the default is moved:

  • {{ result.changed }} {{ "person" if result.changed == 1 else "people" }} moved now, because they already have what it needs.
  • {{ result.pending }} {{ "person" if result.pending == 1 else "people" }} will move once they have what it needs. Their current method keeps working until then.
{% if result.pending_users %}

Waiting for their credential:

    {% for user in result.pending_users %}
  • {{ user.email }}
  • {% endfor %} {% if result.pending > result.pending_users|length %}
  • and {{ result.pending - result.pending_users|length }} more. Each is listed on their own user page.
  • {% endif %}
{% endif %} {% if result.failed %} {% endif %} {% else %}

The settings are saved. Nobody's sign-in method changed.

{% endif %}
{% endif %} {% if mailed_links %} {% endif %}
Default sign-in method

Everyone signs in this way unless an administrator gives them a method of their own on their user page. Changing the default moves everyone who follows it: now, if they already have what the new method needs, otherwise once they do. Until then their current method keeps working.

Default sign-in method {% for method in methods %}
{% endfor %}
{% if not sso_available %}

Single sign-on is not set up. Set it up to choose it.

{% endif %}
Second factors allowed

What people can use as the second step after a password. Allow at least one. Recovery codes are always the backup. A person who holds a factor that is no longer allowed loses it once they have one that is.

{% for factor in factors %}
{% endfor %}
People who sign in only through single sign-on
{% if sso_only_users %}

Single sign-on cannot be switched off while any active person below, or the default above, depends on it. Open each person to move them to another method first.

    {% for user in sso_only_users %}
  • {{ user.email }} ({{ user.status }})
  • {% endfor %}
{% else %}

Nobody signs in only through single sign-on.

{% endif %}
{% endblock %} {% block scripts %}{% endblock %}