The template for the login page can be found in:


When providing a form for login, there should be an input for an email  and password . The action for the login form should be /sessions .

The following code snippet is a good example of a login form:

<h1 class="ui header">Sign In</h1>

<form action="/sessions" class="ui form" method="post">
  {% csrf_param %}

  <div class="field">
    <label for="email">Email</label>
    <input type="text" name="email">

  <div class="field">
    <label for="password">Password</label>
    <input type="password" name="password">

  <input type="submit" name="commit" value="Sign In" class="ui primary button">
Did this answer your question?