Update username generator
This commit is contained in:
parent
88c049b24f
commit
d5251ad3ee
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
import { randomBytes } from "crypto";
|
import { randomBytes } from "crypto";
|
||||||
const generateUser = function (legal) {
|
const generateUser = function (legal) {
|
||||||
return `colon3_${parseInt(randomBytes(3).toString("hex"),16)}`
|
return `${parseInt(randomBytes(8).toString("hex"),36)}`
|
||||||
}
|
}
|
||||||
export { generateUser }
|
export { generateUser }
|
Loading…
Reference in a new issue