Authenticate Subsonic API calls using the DB

This commit is contained in:
Deluan
2020-01-20 13:35:59 -05:00
parent 50c7d3800a
commit 99c28731d4
13 changed files with 210 additions and 93 deletions
+2 -1
View File
@@ -7,7 +7,8 @@ import (
)
var (
ErrNotFound = errors.New("data not found")
ErrNotFound = errors.New("data not found")
ErrInvalidAuth = errors.New("invalid authentication")
)
// Filters use the same operators as Beego ORM: See https://beego.me/docs/mvc/model/query.md#operators