feat: add a notice about terms of service in the registration form

This commit is contained in:
Dorian Niemiec 2024-12-27 19:52:44 +01:00
parent b3a086ffac
commit 3ef0afdb6f

View file

@ -205,6 +205,7 @@ if (!$redirected) {
</div>
<?php } ?>
<p>You already have an account? <a href="<?php echo htmlspecialchars((URL_REWRITTEN ? APP_ROOT : APP_ROOT . APP_FILENAME . '/') . 'login') ?>">Log in</a></p>
<p>By registering an account, you agree to <a href="<?php echo htmlspecialchars((URL_REWRITTEN ? APP_ROOT : APP_ROOT . APP_FILENAME . '/') . 'tos') ?>">Terms of Service</a>.</p>
<?php if ($errorMessage) echo '<p class="form-error">' . htmlspecialchars($errorMessage) . '</p>'; ?>
<div class="form-block">
<input type="submit" value="Register">