Change config: open auth by default

pull/107/head
QLeelulu 6 years ago
parent a4e1a0cdec
commit 8fbb71c555

@ -84,6 +84,7 @@ sh build.sh
3. Open and update Etcd(`conf/etcd.json`) and MongoDB(`conf/db.json`) configurations
4. Start cronnode: `./cronnode -conf conf/base.json`, start cronweb: `./cronweb -conf conf/base.json`
5. Open `http://127.0.0.1:7079` in browser
6. Login with username `admin@admin.com` and password `admin`
## Screenshot

@ -72,6 +72,7 @@ sh build.sh
3. 修改 `conf` 相关的配置
4. 在任务结点启动 `./cronnode -conf conf/base.json`,在管理结点启动 `./cronweb -conf conf/base.json`
5. 访问管理界面 `http://127.0.0.1:7079/ui/`
6. 使用用户名 `admin@admin.com` 和密码 `admin` 进行登录
### 关于后台权限

@ -2,7 +2,7 @@
"BindAddr": ":7079",
"Auth": {
"#Enabled": "set to true to open auth. default username and password is admin@admin.com/admin",
"Enabled": false
"Enabled": true
},
"Session": {
"StorePrefixPath": "/cronsun/sess/",

Loading…
Cancel
Save