usernames lowercased

This commit is contained in:
Ben Elferink
2021-09-29 10:48:48 +03:00
parent b629a7014e
commit 5c3c54b4a9

View File

@@ -10,6 +10,7 @@ const instance = new mongoose.Schema(
username: {
type: String,
required: true,
lowercase: true,
unique: true,
},
password: {