summaryrefslogtreecommitdiff
path: root/templates/nick_reset.html
diff options
context:
space:
mode:
authorTiia Soikkeli <tsoikkel@local>2023-12-12 02:51:56 +0200
committerTiia Soikkeli <tsoikkel@local>2023-12-12 02:51:56 +0200
commit70b247c640b506e407bc7f3daa48a6662a893cad (patch)
tree446209951815bf994359243dbfc759f484e1f770 /templates/nick_reset.html
parent84d1277c408038ab0df6179659c68ac7f08a098f (diff)
Adding nick resetting functionality.
Diffstat (limited to 'templates/nick_reset.html')
-rw-r--r--templates/nick_reset.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/nick_reset.html b/templates/nick_reset.html
new file mode 100644
index 0000000..f247ae7
--- /dev/null
+++ b/templates/nick_reset.html
@@ -0,0 +1,14 @@
+{% if nick %}
+<div class="kysNick">{{ nick }}</div>
+{% endif %}
+<form action="/set/nick" method="POST">
+Korvaa nykyinen nimimerkki:
+<input type="text" name="nick">
+<input type="text" name="caller" value="{{ caller }}" hidden="true">
+<input type="text" name="csrf" value="{{ session.csrf }}" hidden="true">
+<input type="text" name="reset" value="1" hidden="true">
+<input type="submit" value="Lähetä">
+</form>
+<hr>
+Huomaa, että tämä on peruuttamatonta.<br>
+Et voi saada vanhaa nimimerkkiäsi takaisin. \ No newline at end of file