add loopbackMigrationGrandfathered flag
This commit is contained in:
@ -27,6 +27,10 @@
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false
|
"default": false
|
||||||
},
|
},
|
||||||
|
"isMigrationGrandfathered": {
|
||||||
|
"type": "boolean",
|
||||||
|
"default": false
|
||||||
|
},
|
||||||
"username": {
|
"username": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"lowercase": true,
|
"lowercase": true,
|
||||||
|
@ -92,6 +92,8 @@ var users = dbObservable
|
|||||||
user.username = 'fcc' + uuid.v4().slice(0, 8);
|
user.username = 'fcc' + uuid.v4().slice(0, 8);
|
||||||
if (user.github) {
|
if (user.github) {
|
||||||
user.isGithubCool = true;
|
user.isGithubCool = true;
|
||||||
|
} else {
|
||||||
|
user.isMigrationGrandfathered = true;
|
||||||
}
|
}
|
||||||
return user;
|
return user;
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user