Created an interface for the Db class

This commit is contained in:
emeric
2025-07-09 00:29:16 +02:00
parent ecdfa8d68d
commit 764c92698c
106 changed files with 315 additions and 284 deletions
@@ -27,7 +27,7 @@
namespace lms::auth
{
HttpHeadersEnvService::HttpHeadersEnvService(db::Db& db)
HttpHeadersEnvService::HttpHeadersEnvService(db::IDb& db)
: AuthServiceBase{ db }
, _fieldName{ core::Service<core::IConfig>::get()->getString("http-headers-login-field", "X-Forwarded-User") }
{