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]);