Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

Merge branch 'feat/extra-login-providers' into main

Daniel8ba2cecf0633
diff --cc .env.sample
index 975e871a,10ed7eef..f8fc24e6
--- a/.env.sample
+++ b/.env.sample
@@@ -12,8 -12,8 +12,9 @@@ PAGINATION_TAKE_COUNT
STORAGE_FOLDER=
AUTOSCROLL_TIMEOUT=
NEXT_PUBLIC_DISABLE_REGISTRATION=
+NEXT_PUBLIC_DISABLE_LOGIN=
RE_ARCHIVE_LIMIT=
+ NEXT_PUBLIC_MAX_UPLOAD_SIZE=
# AWS S3 Settings
SPACES_KEY=
diff --cc pages/login.tsx
index 9b519246,b9bdb3dd..c4fbd5e4
--- a/pages/login.tsx
+++ b/pages/login.tsx
@@@ -76,11 -63,8 +76,10 @@@ export default function Login()
return (
<CenteredForm text="Sign in to your account">
<form onSubmit={loginUser}>
- <div className="p-4 mx-auto flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full bg-slate-50 dark:bg-neutral-800 rounded-2xl shadow-md border border-sky-100 dark:border-neutral-700">
-
+ <div className="p-4 mx-auto flex flex-col gap-3 justify-between max-w-[30rem] min-w-80 w-full bg-base-200 rounded-2xl shadow-md border border-neutral-content">
+ {process.env.NEXT_PUBLIC_DISABLE_LOGIN !== "true" ? (
+ <div>
- <p className="text-3xl text-black dark:text-white text-center font-extralight">
+ <p className="text-3xl text-center font-extralight">
Enter your credentials
</p>