improve userID entropy

This commit is contained in:
Kevin F 2022-11-22 03:15:36 +00:00
parent 9e78db1ece
commit f1c2919677
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ __ __ _____ __ __ _____
<input type="password" v-model="userIDInput" placeholder="Enter your account ID" required>
<button @submit.prevent="onSubmit" @click="userID = userIDInput; userLogin()">Login</button>
<button @submit.prevent="onSubmit" @click="userID = (crypto.randomUUID().substring(6) + crypto.randomUUID().substring(30)).replaceAll('-',''); userLogin()">Generate Account</button>
<button @submit.prevent="onSubmit" @click="userID = crypto.randomUUID(); userLogin()">Generate Account</button>
</form>
</div>
<br><br>