chore: CB-1654 formatting

This commit is contained in:
Wroud
2022-02-25 17:09:29 +03:00
parent f918c13691
commit e9fb55f26f
@@ -367,10 +367,10 @@ public class WebServiceUtils {
String path = CBApplication.getInstance().getRootURI();
if(sameSite != null) {
if(sameSite.toLowerCase() == "none" && request.isSecure() == false) {
if (sameSite != null) {
if (sameSite.toLowerCase() == "none" && request.isSecure() == false) {
log.debug("Attempt to set Cookie `" + cookieName + "` with `SameSite=None` failed, it require a secure context/HTTPS");
}else {
} else {
sessionCookie.setSecure(true);
path = path.concat("; SameSite=" + sameSite);
}