Skip to content

Commit

Permalink
chore: do not log out password after account creation
Browse files Browse the repository at this point in the history
  • Loading branch information
tefkah committed Feb 27, 2025
1 parent e2f921c commit 486c65a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/prisma/create-admin-user.cts
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,7 @@ async function main() {
});
console.log("✨ Admin user created successfully!");
console.log(`You can now log in with:`);
console.log(`Email: ${adminEmail}`);
console.log(`Password: ${adminPassword}`);
console.log(`${adminEmail}`);
} catch (e) {
if (isUniqueConstraintError(e)) {
console.log("⚠️ Admin user already exists, skipping initialization");
Expand Down

0 comments on commit 486c65a

Please sign in to comment.