Browse Source

ya eblan

master
gsd 2 years ago
parent
commit
393ada67b5
  1. 5
      src/main/java/app/utils/SaltedCookie.java

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

Loading…
Cancel
Save