navidrome/persistence
selfhoster1312 1e24809ed6
Create accounts automatically when authenticating from HTTP header (#2087)
* Create accounts automatically when authenticating from HTTP header

* Disable password check when header auth is enabled

* Formatting

* Password change is valid when no password (old or new) is provided

* Test suite runs with header auth disabled (mock config)
Prevents nil pointer access (panic) while testing password validating logic

* Use a constant prefix for autogenerated passwords (header auth case)

* Add tests

* Add context to log messages

Co-authored-by: Deluan <deluan@navidrome.org>
2023-01-24 20:18:10 -05:00
..
2022-12-28 15:31:56 -05:00
2022-12-28 15:31:56 -05:00
2022-09-30 18:54:25 -04:00
2022-09-30 20:18:14 -04:00
2022-09-30 18:54:25 -04:00
2022-09-30 18:54:25 -04:00
2022-07-30 12:43:48 -04:00
2022-09-30 18:54:25 -04:00
2022-07-26 16:53:17 -04:00
2022-07-26 16:53:17 -04:00
2022-09-30 20:18:14 -04:00