Enforce maximum password length (#14290)

* fix(auth): enforce maximum password length

* fix(auth): line length and better error message

* fix(auth): correctly import/export constant

Co-authored-by: SabreCat <sabe@habitica.com>
This commit is contained in:
Sabe Jones
2022-11-18 16:49:10 -06:00
committed by GitHub
parent 6b27e18699
commit 82c5e40b92
5 changed files with 27 additions and 2 deletions

View File

@@ -30,6 +30,7 @@ export const GUILDS_PER_PAGE = 30; // number of guilds to return per page when u
export const PARTY_LIMIT_MEMBERS = 29;
export const MINIMUM_PASSWORD_LENGTH = 8;
export const MAXIMUM_PASSWORD_LENGTH = 64;
export const TRANSFORMATION_DEBUFFS_LIST = {
snowball: 'salt',