abmp-npm 1.1.69 → 1.1.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,6 +27,7 @@ const loginQAMember = async ({ userEmail, secret }, generateSessionToken) => {
|
|
|
27
27
|
|
|
28
28
|
const qaSecret = await getSecret('ABMP_QA_SECRET');
|
|
29
29
|
if (secret !== qaSecret) {
|
|
30
|
+
console.log('Invalid secret', secret, qaSecret);
|
|
30
31
|
return { success: false, error: 'Invalid secret' };
|
|
31
32
|
}
|
|
32
33
|
|
package/backend/utils.js
CHANGED
|
@@ -154,7 +154,10 @@ const normalizeUrlForComparison = url => {
|
|
|
154
154
|
};
|
|
155
155
|
|
|
156
156
|
async function getSecret(secretKey) {
|
|
157
|
-
|
|
157
|
+
console.log('getSecret', secretKey);
|
|
158
|
+
const secret = await elevatedGetSecretValue(secretKey);
|
|
159
|
+
console.log('secret', secret);
|
|
160
|
+
return secret;
|
|
158
161
|
}
|
|
159
162
|
|
|
160
163
|
async function getSiteBaseUrl() {
|