From ff97b32d5d9f881cccbbca9876a759924bd8a1e3 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Mon, 23 Mar 2020 22:25:08 -0400 Subject: [PATCH] add tier to user upon account creation --- src/class/Util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/class/Util.ts b/src/class/Util.ts index f37ba33..3dc58f6 100644 --- a/src/class/Util.ts +++ b/src/class/Util.ts @@ -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(); }