mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2025-07-25 02:00:07 +02:00

* [CE/SP] Hotfix 5.5.1 * [web] Fix License tab in CE/SP * Added patch to improve logging * Added patch to fix create-user.mjs * Added check for `featureCompatibilityVersion` on CE/SP startup * Patch with `multer` and `tar-fs` updates * Install manually missing @paralleldrive/cuid2 on CE 5.1.1 GitOrigin-RevId: 0138dffdcb171382014a383bee13676fc873b1dd
16 lines
414 B
Diff
16 lines
414 B
Diff
--- a/services/web/modules/server-ce-scripts/scripts/create-user.mjs
|
|
+++ b/services/web/modules/server-ce-scripts/scripts/create-user.mjs
|
|
@@ -48,3 +48,13 @@ Please visit the following URL to set a password for ${email} and log in:
|
|
)
|
|
})
|
|
}
|
|
+
|
|
+if (filename === process.argv[1]) {
|
|
+ try {
|
|
+ await main()
|
|
+ process.exit(0)
|
|
+ } catch (error) {
|
|
+ console.error({ error })
|
|
+ process.exit(1)
|
|
+ }
|
|
+}
|