Ghost/core/client/app/utils/random-password.js
Austin Burdine bd2b206e4b finish up password protection
closes #5073
- takes password protection out of labs and moves it to general settings
- adds random-words generator to randomly generate passwords
2015-05-12 12:02:18 -06:00

11 lines
211 B
JavaScript

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