X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Freset-password.ts;h=4c45396d4f46a53db0612d179b6f20694d6a7d45;hb=b8fa3e8c734a46918118afe7976f248cc883f675;hp=7e7de6b8ae9e355dcf79b40fc7d18d7b8bf5525b;hpb=ba5a8d89bbf049e4afc41543bcc072cccdb02669;p=github%2FChocobozzz%2FPeerTube.git diff --git a/scripts/reset-password.ts b/scripts/reset-password.ts index 7e7de6b8a..4c45396d4 100755 --- a/scripts/reset-password.ts +++ b/scripts/reset-password.ts @@ -1,9 +1,9 @@ import { registerTSPaths } from '../server/helpers/register-ts-paths' registerTSPaths() -import * as program from 'commander' +import { program } from 'commander' import { initDatabaseModels } from '../server/initializers/database' -import { UserModel } from '../server/models/account/user' +import { UserModel } from '../server/models/user/user' import { isUserPasswordValid } from '../server/helpers/custom-validators/users' program