add tier to user upon account creation
parent
8e7a641c7b
commit
ff97b32d5d
|
@ -150,7 +150,7 @@ export default class Util {
|
|||
await this.exec(`chage -d0 ${username}`);
|
||||
|
||||
const account = new this.client.db.Account({
|
||||
username, userID, emailAddress, createdBy: moderatorID, createdAt: new Date(), locked: false, ssInit: false, homepath: `/home/${username}`,
|
||||
username, userID, emailAddress, createdBy: moderatorID, createdAt: new Date(), locked: false, tier: 1, ssInit: false, homepath: `/home/${username}`,
|
||||
});
|
||||
return account.save();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue