diff options
Diffstat (limited to 'scripts/reset-password.ts')
-rwxr-xr-x | scripts/reset-password.ts | 5 |
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 @@ | |||
1 | import { registerTSPaths } from '../server/helpers/register-ts-paths' | ||
2 | registerTSPaths() | ||
3 | |||
4 | import { program } from 'commander' | 1 | import { program } from 'commander' |
2 | import { isUserPasswordValid } from '../server/helpers/custom-validators/users' | ||
5 | import { initDatabaseModels } from '../server/initializers/database' | 3 | import { initDatabaseModels } from '../server/initializers/database' |
6 | import { UserModel } from '../server/models/user/user' | 4 | import { UserModel } from '../server/models/user/user' |
7 | import { isUserPasswordValid } from '../server/helpers/custom-validators/users' | ||
8 | 5 | ||
9 | program | 6 | program |
10 | .option('-u, --user [user]', 'User') | 7 | .option('-u, --user [user]', 'User') |