We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dc1cb1 commit c8eb45fCopy full SHA for c8eb45f
packages/cubejs-testing/birdbox-fixtures/postgresql/single/sqlapi.js
@@ -13,6 +13,12 @@ module.exports = {
13
return query;
14
},
15
checkSqlAuth: async (req, user, password) => {
16
+ console.log('MN CHECK: REQUEST:', { req });
17
+
18
+ if (req.protocol !== 'postgres') {
19
+ throw new Error('Protocol is not postgres');
20
+ }
21
22
if (user === 'admin') {
23
if (password && password !== 'admin_password') {
24
throw new Error(`Password doesn't match for ${user}`);
0 commit comments