mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
httpd/webdav: use a custom listener with read and write deadlines
This commit is contained in:
@@ -853,9 +853,9 @@ func (u *User) isFilePatternAllowed(virtualPath string) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
// CanManahePublicKeys return true if this user is allowed to manage public keys
|
||||
// CanManagePublicKeys return true if this user is allowed to manage public keys
|
||||
// from the web client
|
||||
func (u *User) CanManahePublicKeys() bool {
|
||||
func (u *User) CanManagePublicKeys() bool {
|
||||
return !utils.IsStringInSlice(WebClientPubKeyChangeDisabled, u.Filters.WebClient)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user