Skip to content
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

Allow to set SameSite from system.yaml #3063

Merged
merged 4 commits into from Nov 12, 2020
Merged

Conversation

randoum
Copy link
Contributor

@randoum randoum commented Nov 11, 2020

This patch allow to set config.session.samesite from system.yaml.
It does not set any default value, hence do not change the current behavior.

@rhukster
Copy link
Member

This is good, we also need this to be added to the admin plugin.

@randoum
Copy link
Contributor Author

randoum commented Nov 11, 2020

Could you help? I have no idea how it works

@rhukster
Copy link
Member

Really all you have to do is add the new field to the system/blueprints/config.yaml and translation strings to the user/plugins/admin/languages/en.yaml file

@randoum
Copy link
Contributor Author

randoum commented Nov 11, 2020

Ok done

@rhukster rhukster merged commit 0b41eea into getgrav:develop Nov 12, 2020
mahagr pushed a commit that referenced this pull request Nov 17, 2020
* Update system.yaml
* Update SessionServiceProvider.php
* Update Session.php
* Update system.yaml
rhukster added a commit that referenced this pull request Dec 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants