{% extends 'vulnerabilities/levels/base.html' %}
{% load static %}
{% load crispy_forms_tags %}

{% block level_title %}Silent Redirection: Infiltrating CyberVault{% endblock %}

{% block level_description %}
<div>
  <p>
    In the internet's endless expanse, you find yourself navigating the digital corridors of "CyberVault", a renowned repository brimming with digital treasures and secrets. As you perused the site's discussion board, your eyes caught on messages from an admin account, conspicuously linked with the email: <strong class="story-emphasis">admin@example.com</strong>.
  </p>
  <p>
    Excitement surged within you, thoughts of accessing that account to uncover CyberVault's hidden secrets swirling in your mind. Armed with the username, the only piece missing from the puzzle was the password. Despite your attempts with commonly used passwords, success eluded you.
  </p>
  <p>
    It was while scouring the site further that you stumbled upon a simple password change form for user accounts. An easy-to-overlook piece of the webpage, yet amidst the mundane, you sensed an unguarded path to the vault's knowledge.
  </p>
  <p>
    The mention of the admin's email was not merely a clue; it was a beacon through the digital mists, beckoning to the audacious seeker. With the key to the admin's realm in mind, you stood before the gateway, the thrill of untapped possibilities pulsing at the edge of the unseen.
  </p>
</div>
{% endblock %}

{% block hint_url %}
{% url 'vulnerabilities/level/hint' level_num=2 hint_num=1 %}
{% endblock %}

{% block level_content %}
<div class="container mt-5">
  <div class="row">
    <div class="col-md-6 offset-md-3">
      <div class="card">
        <div class="card-body">
          <h2 class="card-title text-center mb-4">Change your password</h2>
          <form method="post" class="needs-validation" novalidate>
            {% csrf_token %}
            {{ form | crispy }}
            <div class="d-grid gap-2">
              <button type="submit" class="btn btn-primary">Change</button>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
{% endblock %}

{% comment %}
vi: ft=htmldjango
{% endcomment %}
