add link to register.php from login.php

This commit is contained in:
Sundog Jones 2024-05-13 12:35:41 -04:00
parent 8c48309fc2
commit 32f62a9e86
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@
<h2>Login</h2>
<p>If you're new here, <a href='register.php'>register first</a>.
<?php
$errors = [];
if (!isset($_SESSION['nickname']) && !isset($_POST['nickname'])) {