This commit is contained in:
Tom 2023-06-22 13:30:44 +02:00
parent 4b93d7dace
commit effa79aacd
10 changed files with 56 additions and 20 deletions

View file

@ -42,7 +42,7 @@ func (li *ListInstances) ShouldShowList(r *http.Request) bool {
return allowPrivate
}
user, _, _ := li.Dependencies.Auth.UserOf(r)
user, _, _ := li.Dependencies.Auth.SessionOf(r)
if user == nil {
return allowPublic
} else {