mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
082bb07213 |
@@ -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