Davide Polonio 5d760b7ee8 Fix emby/user/public API leaking private data
This commit fixes the emby/user/public API that was returning more data
than necessary. Now only the following information are returned:
- the account name
- the primary image tag
- the field hasPassword
- the field hasConfiguredPassword, useful for the first wizard only
(see
https://github.com/jellyfin/jellyfin/issues/880#issuecomment-465370051)
- the primary image aspect ratio

A new DTO class, PrivateUserDTO has been created, and the route has been
modified in order to return that data object.
2020-03-01 21:46:01 +01:00
..
2020-02-19 23:08:58 +01:00
2019-11-27 16:29:56 +01:00
2019-12-11 00:13:57 +01:00
2019-11-27 16:29:56 +01:00
2019-12-11 00:13:57 +01:00
2019-12-11 00:13:57 +01:00
2019-12-11 00:13:57 +01:00
2019-11-27 16:29:56 +01:00
2019-12-11 00:13:57 +01:00
2019-12-11 00:13:57 +01:00