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

Add cookie domain as module option #16

Merged
merged 1 commit into from
Aug 2, 2013
Merged

Add cookie domain as module option #16

merged 1 commit into from
Aug 2, 2013

Conversation

stijnkoopal
Copy link
Contributor

Currently it is impossible to set the cookie domain. This pull requests introduces this feature as a module configuration item.

pdobrigkeit added a commit that referenced this pull request Aug 2, 2013
@pdobrigkeit pdobrigkeit merged commit ebf614d into goalio:master Aug 2, 2013
$cookieValue = $entity->getUserId() . "\n" . $entity->getSid() . "\n" . $entity->getToken();
return setcookie("remember_me", $cookieValue, time() + $cookieLength, '/', null, null, true);
return setcookie("remember_me", $cookieValue, time() + $cookieLength, '/', $cookieDomain, null, true);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What with L70? See #20 and #32.

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.

3 participants