mirror of https://github.com/Xhofe/alist
🔒 random webdav admin password
parent
2bb7036110
commit
7804cf9d5c
|
@ -158,7 +158,7 @@ func InitSettings() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Key: "WebDAV username",
|
Key: "WebDAV username",
|
||||||
Value: "alist_admin",
|
Value: "admin",
|
||||||
Description: "WebDAV username",
|
Description: "WebDAV username",
|
||||||
Type: "string",
|
Type: "string",
|
||||||
Access: model.PRIVATE,
|
Access: model.PRIVATE,
|
||||||
|
@ -166,7 +166,7 @@ func InitSettings() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Key: "WebDAV password",
|
Key: "WebDAV password",
|
||||||
Value: "alist_admin",
|
Value: utils.RandomStr(8),
|
||||||
Description: "WebDAV password",
|
Description: "WebDAV password",
|
||||||
Type: "string",
|
Type: "string",
|
||||||
Access: model.PRIVATE,
|
Access: model.PRIVATE,
|
||||||
|
@ -190,7 +190,7 @@ func InitSettings() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Key: "Visitor WebDAV username",
|
Key: "Visitor WebDAV username",
|
||||||
Value: "alist_visitor",
|
Value: "guest",
|
||||||
Description: "Visitor WebDAV username",
|
Description: "Visitor WebDAV username",
|
||||||
Type: "string",
|
Type: "string",
|
||||||
Access: model.PRIVATE,
|
Access: model.PRIVATE,
|
||||||
|
@ -198,7 +198,7 @@ func InitSettings() {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Key: "Visitor WebDAV password",
|
Key: "Visitor WebDAV password",
|
||||||
Value: "alist_visitor",
|
Value: "guest",
|
||||||
Description: "Visitor WebDAV password",
|
Description: "Visitor WebDAV password",
|
||||||
Type: "string",
|
Type: "string",
|
||||||
Access: model.PRIVATE,
|
Access: model.PRIVATE,
|
||||||
|
|
Loading…
Reference in New Issue