WebDAV: Fully disable endpoint in public mode as it is not needed #2464
This commit is contained in:
parent
5a89a79f86
commit
95936d0e84
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ func Sponsor() bool {
|
|||
|
||||
// DisableWebDAV checks if the built-in WebDAV server should be disabled.
|
||||
func (c *Config) DisableWebDAV() bool {
|
||||
if c.ReadOnly() || c.Demo() {
|
||||
if c.Public() || c.ReadOnly() || c.Demo() {
|
||||
return true
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue