Template
usernames lowercased
This commit is contained in:
1 parent
b629a7014e
commit
5c3c54b4a9
1 file changed
+1
@@ -10,6 +10,7 @@ const instance = new mongoose.Schema(
|
||||
username: {
|
||||
type: String,
|
||||
required: true,
|
||||
lowercase: true,
|
||||
unique: true,
|
||||
},
|
||||
password: {
|
||||
|
||||
Reference in new issue
Block a user