mirror of
https://github.com/vale981/Vulcan
synced 2025-03-05 17:41:43 -05:00
Fix Username already exists issue [403]
This commit is contained in:
parent
5b8c8d92a9
commit
bc0d82de1a
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ Meteor.methods({
|
|||
|
||||
Meteor.startup(function () {
|
||||
// insert dummy content only if createDummyContent hasn't happened and there aren't any posts in the db
|
||||
if (!Events.findOne({name: 'createDummyContent'}) && !Posts.find().count()) {
|
||||
if (!Users.find().count() && !Events.findOne({name: 'createDummyContent'}) && !Posts.find().count()) {
|
||||
createDummyUsers();
|
||||
createDummyPosts();
|
||||
createDummyComments();
|
||||
|
|
Loading…
Add table
Reference in a new issue