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

web.SetCookieSecret does not exist #44

Closed
ghost opened this issue Dec 7, 2010 · 3 comments
Closed

web.SetCookieSecret does not exist #44

ghost opened this issue Dec 7, 2010 · 3 comments

Comments

@ghost
Copy link

ghost commented Dec 7, 2010

Hello,

web.SetCookieSecret is mentioned in web.go line 103
ctx.Logger.Println("Secret Key for secure cookies has not been set. Please call web.SetCookieSecret")
but does not exist in web.go.

@ghost
Copy link
Author

ghost commented Dec 7, 2010

I added the missing function in my forked repo at https://github.com/Agon/web.go

@yohcop
Copy link

yohcop commented Dec 12, 2010

You can still do:
web.Config.CookieSecret = "asdf"
Although it would be nice to have the SetCookieSecret as the error message says, or change the error message :)

@hoisie
Copy link
Owner

hoisie commented Aug 8, 2016

This was fixed in e775851

@hoisie hoisie closed this as completed Aug 8, 2016
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

No branches or pull requests

2 participants