mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
fix(cli): 🐛 Don't skip password hash when a password is provided manually
This commit is contained in:
parent
4b51985149
commit
f0f9c78cc6
|
|
@ -103,7 +103,7 @@ export default class UserCreate extends BaseCommand<typeof UserCreate> {
|
|||
password: password ?? undefined,
|
||||
username: args.username,
|
||||
admin: flags.admin,
|
||||
skipPasswordHash: !!password,
|
||||
skipPasswordHash: !password,
|
||||
});
|
||||
|
||||
if (!user) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue