Skip to content

Commit 00691f1

Browse files
committed
shorter uid
1 parent 735b79a commit 00691f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

browser/lib/keygen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ const crypto = require('crypto')
22
const _ = require('lodash')
33

44
module.exports = function (length) {
5-
if (!_.isFinite(length)) length = 12
5+
if (!_.isFinite(length)) length = 6
66
return crypto.randomBytes(length).toString('hex')
77
}

0 commit comments

Comments
 (0)