improve userID entropy
This commit is contained in:
parent
9e78db1ece
commit
f1c2919677
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user