improve userID entropy
This commit is contained in:
parent
06376cfd66
commit
9e78db1ece
@ -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 = (window.crypto.randomUUID().substring(6) + window.crypto.randomUUID().substring(30)).replaceAll('-',''); userLogin()">Generate Account</button>
|
||||
<button @submit.prevent="onSubmit" @click="userID = (crypto.randomUUID().substring(6) + crypto.randomUUID().substring(30)).replaceAll('-',''); userLogin()">Generate Account</button>
|
||||
</form>
|
||||
</div>
|
||||
<br><br>
|
||||
|
Loading…
Reference in New Issue
Block a user