From 5409aa5f7f87e1a30e91b27440347d5a3e5aae3d Mon Sep 17 00:00:00 2001 From: Stavros Date: Fri, 4 Jul 2025 01:18:22 +0300 Subject: [PATCH] tests: use new auth config in tests --- internal/api/api_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/api/api_test.go b/internal/api/api_test.go index 8e1352c..dec6126 100644 --- a/internal/api/api_test.go +++ b/internal/api/api_test.go @@ -44,7 +44,8 @@ var handlersConfig = types.HandlersConfig{ var authConfig = types.AuthConfig{ Users: types.Users{}, OauthWhitelist: "", - Secret: "super-secret-api-thing-for-tests", // It is 32 chars long + HMACSecret: "super-secret-api-thing-for-tests", + EncryptionSecret: "super-secret-api-thing-for-tests", CookieSecure: false, SessionExpiry: 3600, LoginTimeout: 0,