Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mong_usr.js 689B

1234567891011
  1. db.user.insert([
  2. // author,OHMNEWS2019
  3. {"_id":"author","name":"Test Author","type":"author","roles":["user","author"],"hash":"sha256","salt":"cy5CkPrplcEze6o4psURhw==","pwd":"Gc8ozlxjEGITkS+fW9tz2xLROzws44s04EOCWuP04qE=","tags":["wichtig","th"],"bookmarks":["th"],},
  4. // admin,oZuse1
  5. {"_id":"admin","name":"Test Admin","type":"admin","roles":["user","author","admin"],"hash":"sha256","salt":"PoIUHbDp7tP34ji31iQ0zw==","pwd":"mJpIfIksYs6LJJwYRBemFKqR6TacsSl2E0ZtpO1GMuk=","tags":["wichtig","th"],"bookmarks":["wichtig"],},
  6. ])
  7. //var c = require('./server/crypto.js'),
  8. // e = {"_id":"writer","hash":"sha256"};
  9. //c.fillLocalAuth(e,"pwd");
  10. //console.info(JSON.stringify(e));