feat: Add required Terms of Service acceptance to registration, enhance terms page content, and introduce utility scripts for thumbnail and dummy data generation.
This commit is contained in:
@@ -119,9 +119,16 @@
|
||||
<form class="login-form" method="post" action="/register">
|
||||
<h2 style="text-align: center; margin-bottom: 20px;">Register</h2>
|
||||
<input type="text" name="username" placeholder="username" autocomplete="off" required />
|
||||
<input type="password" name="password" placeholder="password" autocomplete="off" required />
|
||||
<input type="password" name="password" placeholder="password" autocomplete="off" required minlength="20"
|
||||
title="Must be at least 20 characters long." />
|
||||
<input type="password" name="password_confirm" placeholder="confirm password" autocomplete="off" required />
|
||||
<input type="text" name="token" placeholder="invite token" autocomplete="off" required />
|
||||
<p style="text-align: left; font-size: 0.9em; margin: 0; color: #fff;">
|
||||
<input type="checkbox" id="tos-modal" name="tos" required />
|
||||
<label for="tos-modal">I have read and accept the <a href="/terms" target="_blank"
|
||||
style="color: var(--accent); text-decoration: underline;">Terms of Service</a> and I am at least 18 years
|
||||
old</label>
|
||||
</p>
|
||||
<button type="submit">Create Account</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user