mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
fix: 修复 webdav 账号密码错误问题
This commit is contained in:
@@ -55,7 +55,7 @@ public class WebdavServiceImpl extends AbstractBaseFileService {
|
||||
} else {
|
||||
// 如果用户名和密码为空,则使用默认用户名和密码
|
||||
if (StrUtil.isNotEmpty(username) && StrUtil.isNotEmpty(password)) {
|
||||
sardine = SardineFactory.begin("admin", "YgSBFCbH");
|
||||
sardine = SardineFactory.begin(username, password);
|
||||
} else {
|
||||
sardine = SardineFactory.begin();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user