crusttech / crust-server

Apache License 2.0
87 stars 21 forks source link

repo/user.FindByID returns valid user + error when user is member of a nonexisting role #69

Closed darh closed 5 years ago

darh commented 5 years ago

Result: /auth/check removes cookies because of the error returned.

Fix FindByID and/or prepare to return error without user struct + to ignore missing role error.

See also #67 and #68.