mnfst / manifest

Effortless backends ✨

Home Page:https://manifest.build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login page displays credentials to log even if DB is empty

brunobuddy opened this issue · comments

Description

When cloning an existing CASE repository (not using npx create-case-app as this script seeds the DB), the login page says that I can connect with user1@case.app.

This sentence appears even if my DB is empty and thus prompts users to login even if they can't.

How to reproduce ?

  • The quickest way to simulate an existing CASE project is to go to the starter repo and click on Code > Download ZIP
  • Follow the instructions (without seeding)
  • Launch the app with npm start

image

@brunobuddy I was trying to solve this can u tell me how did u check for the values in the DB(function for checking the values), bcoz I can see that the values for email and password were hard-coded?

@brunobuddy and @SebConejo I have raised PR #102 you can check it and let me know if it's the solution u wanted.

This issue is stale because it has been open for 100 days with no activity.

This issue was closed because it has been inactive for 30 days since being marked as stale.