Ghost/core/client/app/utils/random-password.js

11 lines
211 B
JavaScript
Raw Normal View History

/* global generatePassword */
function randomPassword() {
var word = generatePassword(6),
randomN = Math.floor(Math.random() * 1000);
return word + randomN;
}
export default randomPassword;