Skip to content

Added the possibility to set cookie lifetime by config file#70

Merged
webvimark merged 2 commits intowebvimark:masterfrom
dvdkrgr:master
Jul 22, 2015
Merged

Added the possibility to set cookie lifetime by config file#70
webvimark merged 2 commits intowebvimark:masterfrom
dvdkrgr:master

Conversation

@dvdkrgr
Copy link
Copy Markdown
Contributor

@dvdkrgr dvdkrgr commented Jul 22, 2015

I added the needed properties to set the cookie lifetime in the config file like this:

'user' => [
  'class' => 'webvimark\modules\UserManagement\components\UserConfig',
  'cookieLifetime' => 7200,
],

Default is set to 2592000 (30 days like before).

dvdkrgr added 2 commits July 22, 2015 08:19
Added $cookieLifetime property so the developer can set the cookie lifetime himself by adding it to the config file
This file is now using the $cookieLifetime property from UserConfig.php
@webvimark
Copy link
Copy Markdown
Owner

Thank you

webvimark added a commit that referenced this pull request Jul 22, 2015
Added the possibility to set cookie lifetime by config file
@webvimark webvimark merged commit 1a644a2 into webvimark:master Jul 22, 2015
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.

2 participants