|
12345678910111213 |
- db.users.insert([
- // author,OHMNEWS2019
- {"_id":"author","name":"Test Author","type":"author","roles":["user","author"],"hash":"sha256","salt":"cy5CkPrplcEze6o4psURhw==","pwd":"Gc8ozlxjEGITkS+fW9tz2xLROzws44s04EOCWuP04qE=","abos":["wichtig","th"],"bookmarks":["th"],},
- // admin,oZuse1
- {"_id":"admin","name":"Test Admin","type":"admin","roles":["user","author","admin"],"hash":"sha256","salt":"PoIUHbDp7tP34ji31iQ0zw==","pwd":"mJpIfIksYs6LJJwYRBemFKqR6TacsSl2E0ZtpO1GMuk=","abos":["wichtig","th"],"bookmarks":["wichtig"],},
- ])
-
- db.users.insert({"name":"mustermannmax", "roles":["user"],"abos":[],"bookmarks":[]})
-
- //var c = require('./server/crypto.js'),
- // e = {"_id":"writer","hash":"sha256"};
- //c.fillLocalAuth(e,"pwd");
- //console.info(JSON.stringify(e));
|