@spfn/auth 0.1.0-alpha.86 → 0.1.0-alpha.87

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.
package/dist/server.js CHANGED
@@ -1291,6 +1291,8 @@ async function loginService(params) {
1291
1291
  if (!user || !user.passwordHash) {
1292
1292
  throw new InvalidCredentialsError();
1293
1293
  }
1294
+ console.log("user", user);
1295
+ console.log("\uD328\uC2A4\uC6CC\uB4DC: ", password);
1294
1296
  const isValid = await verifyPassword(password, user.passwordHash);
1295
1297
  if (!isValid) {
1296
1298
  throw new InvalidCredentialsError();
@@ -2161,6 +2163,7 @@ async function ensureAdminExists() {
2161
2163
  let skipped = 0;
2162
2164
  let failed = 0;
2163
2165
  for (const account of accounts) {
2166
+ authLogger2.info(`Creating ${account.email} admin account(s)...`);
2164
2167
  try {
2165
2168
  const existing = await findOne4(users, { email: account.email });
2166
2169
  if (existing) {