diff --git a/src/main/java/app/utils/SaltedCookie.java b/src/main/java/app/utils/SaltedCookie.java index 05c3bec..205f933 100644 --- a/src/main/java/app/utils/SaltedCookie.java +++ b/src/main/java/app/utils/SaltedCookie.java @@ -54,7 +54,7 @@ public class SaltedCookie { 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[1], secret_key_map[2]); + secret_keys.put(secret_key_map[0], secret_key_map[1]); } else { logger.info("Set global secret key"); secret_keys.put("global", secret_keys_splitted[i]);