0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 01:29:52 +01:00
gitea/routers/web/user
zeripath 9d855bd6a1
Simplify Gothic to use our session store instead of creating a different store (#17507)
* Simplify Gothic to use our session store instead of creating a different store

We have been using xormstore to provide a separate session store for our OAuth2 logins
however, this relies on using gorilla context and some doubling of our session storing.
We can however, simplify and simply use our own chi-based session store. Thus removing
a cookie and some of the weirdness with missing contexts.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per review

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per review

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Handle MaxTokenLength

Signed-off-by: Andrew Thornton <art27@cantab.net>

* oops

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
2021-11-03 08:33:54 +08:00
..
setting Add appearance section in settings (#17433) 2021-10-27 23:40:08 +08:00
auth_openid.go Make LDAP be able to skip local 2FA (#16954) 2021-09-17 12:43:47 +01:00
auth.go Simplify Gothic to use our session store instead of creating a different store (#17507) 2021-11-03 08:33:54 +08:00
avatar.go Avatar refactor, move avatar code from models to models.avatars, remove duplicated code (#17123) 2021-10-06 01:25:46 +02:00
home_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
home.go Fix dashboard repolist alignment and repolisting (#17355) 2021-10-19 12:38:33 +08:00
main_test.go Move db related basic functions to models/db (#17075) 2021-09-19 19:49:59 +08:00
notification.go Update documents for Gitea behind reverse proxy. Fix some small bugs (some URLs are generated without sub-path) (#17320) 2021-10-15 23:34:07 -04:00
oauth_test.go Move login related structs and functions to models/login (#17093) 2021-09-24 19:32:56 +08:00
oauth.go Add groups scope/claim to OIDC/OAuth2 Provider (#17367) 2021-10-22 17:19:24 +08:00
profile.go Add RSS/Atom feed support for user actions (#16002) 2021-10-16 16:21:16 +02:00
task.go