diff options
Diffstat (limited to 'app/designs/identity/disabled.js')
-rw-r--r-- | app/designs/identity/disabled.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/designs/identity/disabled.js b/app/designs/identity/disabled.js new file mode 100644 index 0000000..5509575 --- /dev/null +++ b/app/designs/identity/disabled.js @@ -0,0 +1,8 @@ +function(doc) { + if (doc.type != 'Identity') { + return; + } + if (typeof doc.user_id === "undefined") { + emit(doc._id, 1); + } +} |