{% extends "maasserver/base.html" %} {% block title %}Login{% endblock %} {% block layout-modifiers %} modal-content login {% if no_users %} no-users {% endif %} {% endblock %} {% block extra-js %} {% if not no_users %} {% endif %} {% endblock %} {% block content %} {% block page-title-block %} {% endblock %} {% if no_users %}

No admin user has been created yet

Use the "createadmin" administration command to create one:

{{ create_command }} createadmin
login
{% else %}

Welcome

Login to continue to {% include "maasserver/site_title.html" %}

{% comment %} We turn off autocompletion of the login form in production environments. Autocompletion, in combination with cross-site scripting attacks, can potentially allow remote attackers to steal credentials. {% endcomment %}
{% csrf_token %} {% if form.errors %}

Your username and password didn't match. Please try again.

{% endif %}
{% endif %}
{% endblock %}