Improvements for tokens

This commit is contained in:
Tom 2023-06-29 08:59:19 +02:00
parent effa79aacd
commit 8ccd490bed
15 changed files with 34 additions and 30 deletions

View file

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