Would it be beneficial to also look for config.databaseURI if a database adapter is not defined in the configuration object? I do not currently have a database adapter defined in my config (using Postgresql), and when I access the new /security endpoint, it informs me my password does not meet the minimum requirements. However, it does meet the minimum requirements specified in CheckGroupDatabase.js.
Here is an example that will fail the database password security check when only config.databaseURI is specified, but it should pass:
https://github.com/parse-community/parse-server/blob/2c2563ebd2ac5255b387296a563a34157ec076f5/src/Security/CheckGroups/CheckGroupDatabase.js#L18
Would it be beneficial to also look for
config.databaseURI
if a database adapter is not defined in the configuration object? I do not currently have a database adapter defined in my config (using Postgresql), and when I access the new/security
endpoint, it informs me my password does not meet the minimum requirements. However, it does meet the minimum requirements specified inCheckGroupDatabase.js
.Here is an example that will fail the database password security check when only
config.databaseURI
is specified, but it should pass: