mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 03:12:54 +03:00
11 lines
211 B
JavaScript
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;
|