summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/users.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/models/users.js b/models/users.js
index 7b484f92..b06a6460 100644
--- a/models/users.js
+++ b/models/users.js
@@ -104,6 +104,10 @@ Users.attachSchema(new SimpleSchema({
type: Date,
optional: true,
},
+ isAdmin: {
+ type: Boolean,
+ optional: true
+ }
}));
// Search a user in the complete server database by its name or username. This