diff --git a/README.md b/README.md index e5b42585..74a7f5cd 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You can run `yarn dev` in either / both folders to start the server and client w ### Production -**Note: Drift is not yet ready for production usage and should not be used seriously until the database has been setup, which I'll get to when the server API is semi stable.** +**Note: Drift is not yet ready for production usage and should not be used too seriously. I'll make every effort to not lose data, but I won't make any guarantees until the project is further along.** `yarn build` in both `client/` and `server/` will produce production code for the client and server respectively. The client and server each also have Dockerfiles which you can use with a docker-compose (an example compose will be provided in the near future). diff --git a/client/components/auth/index.tsx b/client/components/auth/index.tsx index c43111d8..43b1d28f 100644 --- a/client/components/auth/index.tsx +++ b/client/components/auth/index.tsx @@ -26,7 +26,7 @@ const Auth = ({ page }: { page: "signup" | "signin" }) => { }) if (resp.ok) { const res = await resp.json() - setRequiresServerPassword(res) + setRequiresServerPassword(res.requiresPasscode) } else { setErrorMsg("Something went wrong.") }