seria/templates/settings.twig

16 lines
710 B
Twig

{% extends 'master.twig' %}
{% set title = 'Settings' %}
{% block content %}
<div class="settings">
<div class="settings-reset">
<h2>Reset Passkey</h2>
<p>In case you accidentally exposed your passkey to other people. This button will generate a new passkey for you, but that also means any existing torrent you may be seeding or downloading will no longer work and you'll have to redownload the .torrent file.</p>
<form action="/settings/passkey" method="post">
<input type="hidden" name="_csrfp" value="{{ csrfp_token() }}">
<button>Generate a new passkey</button>
</form>
</div>
</div>
{% endblock %}