use rel paths

This commit is contained in:
sentriz
2019-05-24 14:10:05 +01:00
parent 5f59660702
commit 29702efd51
8 changed files with 204 additions and 179 deletions

View File

@@ -61,7 +61,7 @@ func (c *Controller) WithValidSubsonicArgs(next http.HandlerFunc) http.HandlerFu
return
}
user := c.GetUserFromName(username)
if user.ID == 0 {
if *user.ID == 0 {
// the user does not exist
respondError(w, r, 40, "invalid username")
return