From 393ada67b59f0fa0bfdd027dc13972dee0a33f6d Mon Sep 17 00:00:00 2001 From: gsd Date: Tue, 14 Mar 2023 17:30:42 +0300 Subject: [PATCH] ya eblan --- src/main/java/app/utils/SaltedCookie.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/app/utils/SaltedCookie.java b/src/main/java/app/utils/SaltedCookie.java index 205f933..cc654e9 100644 --- a/src/main/java/app/utils/SaltedCookie.java +++ b/src/main/java/app/utils/SaltedCookie.java @@ -53,8 +53,9 @@ public class SaltedCookie { for (int i = 0; i < secret_keys_splitted.length; i++) { if (secret_keys_splitted[i].contains("=")) { secret_key_map = secret_keys_splitted[i].split("="); - logger.info("Put into secret_keys: {}", secret_key_map[0]); - secret_keys.put(secret_key_map[0], secret_key_map[1]); + logger.info("Put into secret_keys: {} {}", secret_key_map[0], secret_key_map[1]); + //ТЫ ДЕБИЛ ТУТ ОШИБКА БЫЛА + secret_keys.put(secret_key_map[1], secret_key_map[0]); } else { logger.info("Set global secret key"); secret_keys.put("global", secret_keys_splitted[i]);