File perms
This commit is contained in:
0
utils/crackdown.js
Normal file → Executable file
0
utils/crackdown.js
Normal file → Executable file
2
utils/security.js
Normal file → Executable file
2
utils/security.js
Normal file → Executable file
@@ -54,5 +54,5 @@ export function isUsernameSane(candidate) {
|
||||
export function isPasswordSane(candidate) {
|
||||
// We know the password must adhere to one of our client-side-hashed crypto schemes,
|
||||
// so we can be fairly strict with the allowed passwords
|
||||
return Config.passwordSanityRegex.test(candidate);
|
||||
return Config.passwordHashSanityRegex.test(candidate);
|
||||
}
|
||||
|
||||
0
utils/tui.js
Normal file → Executable file
0
utils/tui.js
Normal file → Executable file
Reference in New Issue
Block a user