Skip to content

Commit

Permalink
disabling default admin for user
Browse files Browse the repository at this point in the history
  • Loading branch information
amiparadis250 committed Mar 8, 2024
1 parent 91875f8 commit 4688142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const userSchema = new mongoose.Schema({
},
isAdmin: {
type: Boolean,
default: true,
default: false,
},
blogs: [
{
Expand Down

0 comments on commit 4688142

Please sign in to comment.