learn_press_setcookie causes security test failure
-
Hi folks
The function learn_press_setcookie is causing one of our clients sites to fail security tests.
This function has
falseas the default for$secureand$httponly.This is called in
lp-user-functions.phpon line 1160 in the functionlearn_press_set_user_cookie_for_guest.This overrides our PHP ini settings to force secure and httponly, resulting in the site failing security tests.
If this can’t be changed, then is it possible to add a hook / filter somewhere around these functions so that we can override this on this particular site?
Kind regards
– Perry
The topic ‘learn_press_setcookie causes security test failure’ is closed to new replies.