only show register button if possible

This commit is contained in:
C4illin
2024-05-24 23:26:01 +02:00
parent f92cc4fd63
commit 549bcadc15

View File

@@ -277,9 +277,11 @@ const app = new Elysia()
</label>
</fieldset>
<div role="group">
<a href="/register" role="button" class="secondary">
Register an account
</a>
{ACCOUNT_REGISTRATION && (
<a href="/register" role="button" class="secondary">
Register an account
</a>
)}
<input type="submit" value="Login" />
</div>
</form>