diff --git a/.cspell/cspell.json b/.cspell/cspell.json index e2775c74b6..e0aa43c5fe 100644 --- a/.cspell/cspell.json +++ b/.cspell/cspell.json @@ -76,6 +76,10 @@ "filename": "/core/modules/simpletest/tests/file.test", "ignoreWords": ["NONEXISTINGFILENAME", "ufail"] }, + { + "filename": "/core/modules/user/user.module", + "ignoreWords": ["abcdefghijkmnopqrstuvwxyz", "ABCDEFGHJKLMNPQRSTUVWXYZ", "23456789"] + }, { "filename": "/core/themes/bartik/color/color.inc", "ignoreWords": ["Blackdrop"] diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 574661a259..0aeecc20a4 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -428,8 +428,6 @@ function user_validate_picture(&$form, &$form_state) { * Generate a random alphanumeric password. */ function user_password($length = 10) { - // cSpell:ignore abcdefghijkmnopqrstuvwxyz, ABCDEFGHJKLMNPQRSTUVWXYZ, 23456789 - // This variable contains the list of allowable characters for the // password. Note that the number 0 and the letter 'O' have been // removed to avoid confusion between the two. The same is true