diff --git a/next.config.js b/next.config.js
index c87a8ebb2..191310ecf 100644
--- a/next.config.js
+++ b/next.config.js
@@ -6,6 +6,11 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
});
module.exports = withBundleAnalyzer({
+ webpack: (config) => {
+ // for dynamic loading of auth providers
+ config.experiments = { ...config.experiments, topLevelAwait: true };
+ return config;
+ },
images: {
domains: ['cdn.jsdelivr.net'],
},
diff --git a/package.json b/package.json
index 590c95722..ef83e4af8 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,6 @@
"db:migrate": "dotenv ts-node drizzle/migrate/migrate.ts ./drizzle"
},
"dependencies": {
- "@auth/drizzle-adapter": "^0.3.2",
"@ctrl/deluge": "^4.1.0",
"@ctrl/qbittorrent": "^6.0.0",
"@ctrl/shared-torrent": "^4.1.1",
@@ -92,9 +91,8 @@
"i18next": "^22.5.1",
"immer": "^10.0.2",
"js-file-download": "^0.4.12",
+ "ldapjs": "^3.0.5",
"mantine-react-table": "^1.3.4",
- "moment": "^2.29.4",
- "moment-timezone": "^0.5.43",
"next": "13.4.12",
"next-auth": "^4.23.0",
"next-i18next": "^14.0.0",
@@ -123,6 +121,7 @@
"@types/better-sqlite3": "^7.6.5",
"@types/cookies": "^0.7.7",
"@types/dockerode": "^3.3.9",
+ "@types/ldapjs": "^3.0.2",
"@types/node": "18.17.8",
"@types/prismjs": "^1.26.0",
"@types/react": "^18.2.11",
diff --git a/src/components/Manage/User/Create/review-input-step.tsx b/src/components/Manage/User/Create/review-input-step.tsx
index eb56d7efe..7d819b19d 100644
--- a/src/components/Manage/User/Create/review-input-step.tsx
+++ b/src/components/Manage/User/Create/review-input-step.tsx
@@ -111,7 +111,7 @@ export const ReviewInputStep = ({ values, prevStep, nextStep }: ReviewInputStepP
password: values.security.password,
email: values.account.eMail === '' ? undefined : values.account.eMail,
});
- umami.track('Create user', { username: values.account.username});
+ umami.track('Create user', { username: values.account.username });
}}
loading={isLoading}
rightIcon={
Try not to make it adminadmin this time...
-
Note: these password requirements are not forced, they are just recommendations.
+ Your administrator account must be secure, that's why we have so many rules
+ surrounding it.
+
+ Try not to make it adminadmin this time...
+
+ Note: these password requirements are not forced, they are just recommendations.