-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Fix oauth2 session gob register #36017
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
Conversation
baf88fb to
7900b6c
Compare
7900b6c to
9829dac
Compare
|
Upstream fix: https://gitea.com/go-chi/session/pulls/11 |
f14a5bb to
4408afe
Compare
e2e7a5a to
d050b03
Compare
d050b03 to
e2cfadc
Compare
| Domain: setting.SessionConfig.Domain, | ||
| }) | ||
| if err != nil { | ||
| return nil, fmt.Errorf("failed to create session middleware: %w", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if the old or the new version of this error message is better.
I think I prefer the old one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* origin/main: Fix actions lint (go-gitea#36029) Fix oauth2 session gob register (go-gitea#36017)

gob.Registermust be called before SessionerFix #36016