mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 02:17:19 +00:00
This needs to be deployed to both staging and prod at the same off-peak time (and the schema migration run). At the time it is deployed, we need to make a few changes directly in the database: (1) UPDATE django_content_type set app_label='zerver' where app_label='zephyr'; (2) UPDATE south_migrationhistory set app_name='zerver' where app_name='zephyr'; (imported from commit eb3fd719571740189514ef0b884738cb30df1320)
37 lines
1.1 KiB
HTML
37 lines
1.1 KiB
HTML
{% extends "zerver/portico_signup.html" %}
|
|
|
|
{% block portico_content %}
|
|
|
|
<div class="pitch">
|
|
<hr/>
|
|
<h3>Reset your password.</h3>
|
|
</div>
|
|
|
|
<form method="post" class="form-horizontal" action="{% url 'django.contrib.auth.views.password_reset' %}">
|
|
{% csrf_token %}
|
|
<div class="control-group">
|
|
<label for="id_email" class="control-label">Email</label>
|
|
<div class="controls">
|
|
<input id="id_email" class="required" type="text" name="email"
|
|
value="{% if form.email.value %}{{ form.email.value }}{% endif %}"
|
|
maxlength="100" />
|
|
{% if form.email.errors %}
|
|
{% for error in form.email.errors %}
|
|
<div class="alert alert-error">{{ error }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
<div class="control-group">
|
|
<div class="controls">
|
|
<input type="submit" class="btn btn-primary" value="Reset password" /><br />
|
|
</div>
|
|
</div>
|
|
</form>
|
|
|
|
<script type="text/javascript">
|
|
autofocus('#id_email');
|
|
</script>
|
|
|
|
{% endblock %}
|