Add scripts to create myops-getqueryview:
[myops.git] / web / query / vendor / couchapp / evently / account / loggedIn / data.js
diff --git a/web/query/vendor/couchapp/evently/account/loggedIn/data.js b/web/query/vendor/couchapp/evently/account/loggedIn/data.js
new file mode 100644 (file)
index 0000000..dc20700
--- /dev/null
@@ -0,0 +1,7 @@
+function(e, r) {
+  return {
+    name : r.userCtx.name,
+    uri_name : encodeURIComponent(r.userCtx.name),
+    auth_db : encodeURIComponent(r.info.authentication_db)
+  };
+}
\ No newline at end of file