Vardot / varbase-project

Project template for Varbase distribution
https://www.drupal.org/project/varbase
GNU General Public License v2.0
49 stars 35 forks source link

Auto config the services maximum cookie with Drupal scaffolding for the Persistent Login #228

Closed n-ghunaim closed 7 months ago

n-ghunaim commented 7 months ago

readme.md | Persistent Login

Setup

Edit your services.yml file so PHP session cookies have a lifetime of the browser session:

 parameters:
   session.storage.options:
     cookie_lifetime: 0
n-ghunaim commented 7 months ago

We have applied the changes directly for Varbase profile: issue 3443948 and no need to apply any changes for varbase-ptoject files as we already have a script for scaffold changes in composer.json.

"post-drupal-scaffold-cmd": ["Varbase\\composer\\ScriptHandler::postDrupalScaffoldProcedure"]

Natshah commented 7 months ago

A smart way of doing this. I agree to that.

No need to do anything in Vardot/varbase-project or vardot/platformsh-varbase

Closing this issue.