Change the word length requirements.

pull/18/head
Alex Kern 11 years ago
parent 2a212da46e
commit 553f4864eb

@ -3,12 +3,12 @@ import xkcdPassword from 'xkcd-password'
const TOKEN_OPTIONS = { const TOKEN_OPTIONS = {
numWords: 4, numWords: 4,
minLength: 4, minLength: 3,
maxLength: 8 maxLength: 20
} }
var tokens = {} let tokens = {}
var tokenGenerator = new xkcdPassword() const tokenGenerator = new xkcdPassword()
tokenGenerator.initWithWordList(toppings) tokenGenerator.initWithWordList(toppings)
export function create(socket) { export function create(socket) {

Loading…
Cancel
Save