Remove Ks from allowed password chars

This commit is contained in:
2017-03-01 19:10:39 +00:00
parent dd6159c0af
commit b6f2b752b2

View File

@@ -1,8 +1,8 @@
import DataType from 'sequelize'; import DataType from 'sequelize';
import Model from '../sequelize'; import Model from '../sequelize';
const passwordChars = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'j', 'k', 'm', 'n', 'p', 'q', 'r', 't', 'u', const passwordChars = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'j', 'm', 'n', 'p', 'q', 'r', 't', 'u',
'w', 'x', 'y', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'M', 'N', 'P', 'Q', 'R', 'T', 'U', 'W', 'w', 'x', 'y', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'M', 'N', 'P', 'Q', 'R', 'T', 'U', 'W',
'X', 'Y', '2', '3', '4', '6', '7', '8', '9']; 'X', 'Y', '2', '3', '4', '6', '7', '8', '9'];
function generatePassword() { function generatePassword() {