We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e51841 commit cd5038aCopy full SHA for cd5038a
server/models/user.js
@@ -82,7 +82,8 @@ const userSchema = new Schema(
82
enum: ['none', 'essential', 'all'],
83
default: 'none'
84
},
85
- banned: { type: Boolean, default: false }
+ banned: { type: Boolean, default: false },
86
+ lastLoginTimestamp: { type: Date } // or should it be last active?
87
88
{ timestamps: true, usePushEach: true }
89
);
0 commit comments