gaoyangxiaozhu / DockerVI

实现可视化操作docker 远程 api --departed
81 stars 34 forks source link

增加权限控制 #7

Open gaoyangxiaozhu opened 8 years ago

zhgui commented 7 years ago

登陆的账号是啥呢?想进入看看

yingp commented 7 years ago

默认账号怎么设置的

njqaaa commented 7 years ago

DockerVI/server/config/seed.js

njqaaa commented 7 years ago

User.countAsync().then(function (count) { if(count === 0){ User.removeAsync().then(function () { User.createAsync({ nickname:'admin', email:'gyycoder@gmail.com', role:'admin', password:'admin', status:1 }); }); } });