-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a warning about the cookie configuration #7255
Conversation
|
The inspection completed: No new issues |
What's the reason for this? We actually setting as part of the authentication cookies. It's not used in install.php though. |
If the httponly setting is set to on in the php configuration the ajax request made in the step of the install where the database is updated brakes. |
@mikeSimonson Interesting, could setting that explicitly in install.php fix the issue too? or maybe stop passing the variables from php to javascript. |
@mikeSimonson Any comment? |
@murrant Maybe it could, I am not really sure that you can taught. |
@mikeSimonson We set it in https://github.com/librenms/librenms/blob/master/html/includes/authenticate.inc.php#L7 already so seems possible to toggle it on / off in php. Not sure if that overwrites what the user sets in php.ini but it's worth a test. |
@mikeSimonson bump |
@mikeSimonson Feel free to comment on this still and we can re-open. |
This thread has been automatically locked since there has not been any recent activity after it was closed. |
DO NOT DELETE THIS TEXT
Please note
Testers
If you would like to test this pull request then please run:
./scripts/github-apply <pr_id>
, i.e./scripts/github-apply 5926
This change is![Reviewable](https://camo.githubusercontent.com/23b05f5fb48215c989e92cc44cf6512512d083132bd3daf689867c8d9d386888/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)