UI improvements

This commit is contained in:
daniel31x13
2024-07-18 16:29:59 -04:00
parent 92c7f40956
commit a8ffbc87d1
17 changed files with 84 additions and 22 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ export default async function forgotPassword(
res: NextApiResponse
) {
if (req.method === "POST") {
if (process.env.DEMO_MODE === "true")
if (process.env.NEXT_PUBLIC_DEMO === "true")
return res.status(400).json({
response:
"This action is disabled because this is a read-only demo of Linkwarden.",
+1 -1
View File
@@ -7,7 +7,7 @@ export default async function resetPassword(
res: NextApiResponse
) {
if (req.method === "POST") {
if (process.env.DEMO_MODE === "true")
if (process.env.NEXT_PUBLIC_DEMO === "true")
return res.status(400).json({
response:
"This action is disabled because this is a read-only demo of Linkwarden.",
+1 -1
View File
@@ -7,7 +7,7 @@ export default async function verifyEmail(
res: NextApiResponse
) {
if (req.method === "POST") {
if (process.env.DEMO_MODE === "true")
if (process.env.NEXT_PUBLIC_DEMO === "true")
return res.status(400).json({
response:
"This action is disabled because this is a read-only demo of Linkwarden.",