only show register button if possible
This commit is contained in:
parent
f92cc4fd63
commit
549bcadc15
1 changed files with 5 additions and 3 deletions
|
|
@ -277,9 +277,11 @@ const app = new Elysia()
|
||||||
</label>
|
</label>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div role="group">
|
<div role="group">
|
||||||
|
{ACCOUNT_REGISTRATION && (
|
||||||
<a href="/register" role="button" class="secondary">
|
<a href="/register" role="button" class="secondary">
|
||||||
Register an account
|
Register an account
|
||||||
</a>
|
</a>
|
||||||
|
)}
|
||||||
<input type="submit" value="Login" />
|
<input type="submit" value="Login" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue