mirror of
https://git.waldn.net/git/knotteye/satyr.git
synced 2025-09-07 04:58:03 +00:00
I don't even know.
Filled out API for user management Proper escaping of user input for SQL queries (stream keys aren't user input) Filled out frontend with profile management, vods, etc. I don't remember there's probably more, fuck.
This commit is contained in:
12
templates/changepwd.njk
Normal file
12
templates/changepwd.njk
Normal file
@ -0,0 +1,12 @@
|
||||
{% extends "base.njk" %}
|
||||
{% block content %}
|
||||
<h3>Change your password on {{ sitename }}</h3><span style="font-size: small;">Not registered yet? Sign up <a href="/register">here</a>.</br> Update your <a href="/profile">profile</a> or <a href="/changesk">stream key</a>.</span>
|
||||
<p></p>
|
||||
<form action="/api/user/password" method="POST" target="responseFrame">
|
||||
Username: </br><input type="text" name="username" style="min-width: 300px" placeholder="e.g. lain"/></br>
|
||||
Password: </br><input type="password" name="password" style="min-width: 300px"/></br>
|
||||
New Password: </br><input type="password" name="newpassword" style="min-width: 300px"/></br>
|
||||
<input type="submit" value="Submit">
|
||||
</form>
|
||||
<iframe name="responseFrame" border="0" frameborder="0" style="display: inline;"></iframe>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user