Skip to content

Commit 96b1c76

Browse files
authored
Merge 92be3f0 into 12eb6c8
2 parents 12eb6c8 + 92be3f0 commit 96b1c76

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/Adapters/Storage/Postgres/PostgresClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function createClient(uri, databaseOptions) {
2020

2121
if (process.env.PARSE_SERVER_LOG_LEVEL === 'debug') {
2222
const monitor = require('pg-monitor');
23-
if(monitor.isAttached()) {
23+
if (monitor.isAttached()) {
2424
monitor.detach();
2525
}
2626
monitor.attach(initOptions);

src/Security/CheckGroups/CheckGroupDatabase.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import Config from '../../Config';
88
import Parse from 'parse/node';
99

1010
/**
11-
* The security checks group for Parse Server configuration.
12-
* Checks common Parse Server parameters such as access keys.
13-
*/
11+
* The security checks group for Parse Server configuration.
12+
* Checks common Parse Server parameters such as access keys.
13+
*/
1414
class CheckGroupDatabase extends CheckGroup {
1515
setName() {
1616
return 'Database';
@@ -23,7 +23,8 @@ class CheckGroupDatabase extends CheckGroup {
2323
new Check({
2424
title: 'Secure database password',
2525
warning: 'The database password is insecure and vulnerable to brute force attacks.',
26-
solution: 'Choose a longer and/or more complex password with a combination of upper- and lowercase characters, numbers and special characters.',
26+
solution:
27+
'Choose a longer and/or more complex password with a combination of upper- and lowercase characters, numbers and special characters.',
2728
check: () => {
2829
const password = databaseUrl.match(/\/\/\S+:(\S+)@/)[1];
2930
const hasUpperCase = /[A-Z]/.test(password);

0 commit comments

Comments
 (0)