mirror of
https://git.sr.ht/~sircmpwn/tokidoki
synced 2025-12-12 14:17:21 +01:00
Adapt to latest changes in go-webdav
There is now only one last PR missing before we can start using the vanilla upstream go-webdav again. Thanks a lot to Simon for his patience reviewing my PRs!
This commit is contained in:
parent
4765adc1a3
commit
53b2c88311
3 changed files with 7 additions and 7 deletions
|
|
@ -67,12 +67,12 @@ func (u *tokidokiHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
}
|
||||
|
||||
if r.URL.Path == userPrincipalPath {
|
||||
opts := webdav.ServeUserPrincipalOptions{
|
||||
UserPrincipalPath: userPrincipalPath,
|
||||
HomeSets: homeSets,
|
||||
opts := webdav.ServePrincipalOptions{
|
||||
CurrentUserPrincipalPath: userPrincipalPath,
|
||||
HomeSets: homeSets,
|
||||
}
|
||||
|
||||
webdav.ServeUserPrincipal(w, r, &opts)
|
||||
webdav.ServePrincipal(w, r, &opts)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue