Temporarily disable registration/login for non gm

This commit is contained in:
Chord 2020-05-17 17:04:19 +02:00
parent 5e54cae329
commit 24e264d229
5 changed files with 7 additions and 5 deletions

View file

@ -77,8 +77,8 @@
<div class="row">
<div class="col">
{#if !$loggedIn}
<a class="btn btn-primary" href="/login" role="button">Login</a>
<a class="btn btn-primary" href="/register" role="button">Create Account</a>
<!--<a class="btn btn-primary" href="/login" role="button">Login</a>
<a class="btn btn-primary" href="/register" role="button">Create Account</a>-->
{/if}
<a class="btn btn-secondary" href="https://docs.google.com/document/d/1ZMx1NUylVZCXJNRyhkuVWT0eUKSVYu0JXsU-y3f93BY/edit" role="button">Setup Instructions</a>
</div>

View file

@ -76,6 +76,7 @@
<Alert bind:this={alert} />
<h3 style="color: red;">Login only enabled for GMs at this time</h3>
<form name="login" class="form-group" on:submit|preventDefault={submitLogin}>
<div class="form-group">
<label for="inputUsername">Username</label>

View file

@ -73,6 +73,7 @@
<Alert bind:this={alert} />
<h2 style="color:red;">Registration is currently disabled. Login via the game client</h2>
<form name="login" class:was-validated={validated} class="form-group needs-validation" novalidate on:submit|preventDefault={submitLogin}>
<div class="form-group">
<label for="inputUsername">Username</label>