mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 09:33:44 +01:00
c4ccd82f63
It was based on 5 words from a 2048 word list, which is only the same as a 11 character password
43 lines
1.1 KiB
HTML
43 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
Set Password
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
{% if optional %}
|
|
<div class="alert alert-primary">
|
|
{{ _("It is recommended that you set a password for your account.") }}
|
|
|
|
<a class="alert_right button" href="{{ url_for('homepage.home') }}">
|
|
{{ _("Skip") }}
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
|
|
|
|
<h1>{{ _("Set Password") }}</h1>
|
|
|
|
{% from "macros/forms.html" import render_field, render_submit_field %}
|
|
<form action="" method="POST" class="form" role="form">
|
|
{{ form.hidden_tag() }}
|
|
|
|
{% if form.email and not current_user.email %}
|
|
{{ render_field(form.email, tabindex=220,
|
|
hint=_("Your email is needed to recover your account if you forget your password and to send (configurable) notifications. ") +
|
|
_("Your email will never be shared with a third-party.")) }}
|
|
{% endif %}
|
|
|
|
{% if form.old_password %}
|
|
{{ render_field(form.old_password, tabindex=230) }}
|
|
{% endif %}
|
|
|
|
{{ render_field(form.password, tabindex=230, hint=_("Must be at least 8 characters long.")) }}
|
|
{{ render_field(form.password2, tabindex=240) }}
|
|
|
|
{{ render_submit_field(form.submit, tabindex=280) }}
|
|
</form>
|
|
|
|
{% endblock %}
|