You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1
zeripath de3216ee55
Use common sessioner for API and web routes (#18114)
* Use common sessioner for API and web routes

Since the regenerate session ID PR some users of the memory session provider have been
reporting difficulties with getting API results.

I am uncertain as to why this is happening - but I think that the sessioner being
created twice may be a potential cause for this. Therefore this PR attempts to move
this out to a common sessioner as it is in 1.16.

Fix #18070

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

* Update routers/init.go
3 years ago
..
admin Ensure complexity, minlength and ispwned are checked on password setting (#18005) (#18015) 3 years ago
misc Refactor renders (#15175) 4 years ago
notify [API] expose repo.GetReviewers() & repo.GetAssignees() (#16168) 4 years ago
org List limited and private orgs if authenticated on API (#16866) (#16879) 3 years ago
repo Ensure that git repository is closed before transfer (#18049) (#18057) 3 years ago
settings Add custom emoji support (#16004) 4 years ago
swagger Swagger AccessToken fixes (#16574) (#16597) 4 years ago
user Fix user primary email changed (#17840) 3 years ago
utils Let branch/tag name be a valid ref to get CI status (#16400) 4 years ago
api.go Use common sessioner for API and web routes (#18114) 3 years ago