mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-07 16:46:36 +02:00
feat(users): add feature for verify mail address and active account by mail
This commit is contained in:
@@ -129,7 +129,7 @@ var UserSchema = new Schema({
|
||||
},
|
||||
status: {
|
||||
type: String,
|
||||
default: 'normal'
|
||||
default: 'inactive'
|
||||
},
|
||||
vip_start_at: {
|
||||
type: Date,
|
||||
@@ -213,6 +213,13 @@ var UserSchema = new Schema({
|
||||
type: Date,
|
||||
default: Date.now
|
||||
},
|
||||
/* for sing up active */
|
||||
signUpActiveToken: {
|
||||
type: String
|
||||
},
|
||||
signUpActiveExpires: {
|
||||
type: Date
|
||||
},
|
||||
/* For reset password */
|
||||
resetPasswordToken: {
|
||||
type: String
|
||||
|
||||
Reference in New Issue
Block a user