aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/reset-password.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/reset-password.ts')
-rwxr-xr-xscripts/reset-password.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/reset-password.ts b/scripts/reset-password.ts
index 4c45396d4..b2e5639fb 100755
--- a/scripts/reset-password.ts
+++ b/scripts/reset-password.ts
@@ -1,10 +1,7 @@
1import { registerTSPaths } from '../server/helpers/register-ts-paths'
2registerTSPaths()
3
4import { program } from 'commander' 1import { program } from 'commander'
2import { isUserPasswordValid } from '../server/helpers/custom-validators/users'
5import { initDatabaseModels } from '../server/initializers/database' 3import { initDatabaseModels } from '../server/initializers/database'
6import { UserModel } from '../server/models/user/user' 4import { UserModel } from '../server/models/user/user'
7import { isUserPasswordValid } from '../server/helpers/custom-validators/users'
8 5
9program 6program
10 .option('-u, --user [user]', 'User') 7 .option('-u, --user [user]', 'User')