mirror of
https://github.com/C4illin/ConvertX.git
synced 2026-11-12 09:10:58 +01:00
only show register button if possible
This commit is contained in:
1 parent
f92cc4fd63
commit
549bcadc15
1 file changed
+5
-3
+5
-3
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user