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.
Paweł Bogusławski 2d3b52c244
SessionUser protection against nil pointer dereference (#21358)
`SessionUser` should be protected against passing `sess` = `nil` to
avoid

```
PANIC: runtime error: invalid memory address or nil pointer dereference
```

in


https://github.com/go-gitea/gitea/pull/18452/files#diff-a215b82aadeb8b4c4632fcf31215dd421f804eb1c0137ec6721b980136e4442aR69

after upgrade from gitea v1.16 to v1.17.

Related: https://github.com/go-gitea/gitea/pull/18452
Author-Change-Id: IB#1126459
2 years ago
..
source Allow specifying SECRET_KEY_URI, similar to INTERNAL_TOKEN_URI (#19663) 2 years ago
auth.go Remove dependent on session auth for api/v1 routers (#19321) 2 years ago
auth_test.go format with gofumpt (#18184) 2 years ago
basic.go Move some files into models' sub packages (#20262) 2 years ago
group.go Share HTML template renderers and create a watcher framework (#20218) 2 years ago
httpsign.go Implement http signatures support for the API (#17565) 2 years ago
interface.go Share HTML template renderers and create a watcher framework (#20218) 2 years ago
oauth2.go Move some files into models' sub packages (#20262) 2 years ago
reverseproxy.go Add support for authentication based on reverse proxy email (#19949) 2 years ago
session.go SessionUser protection against nil pointer dereference (#21358) 2 years ago
signin.go Restore user autoregistration with email addresses (#19261) 2 years ago
source.go Refactor auth package (#17962) 2 years ago
sspi_windows.go Share HTML template renderers and create a watcher framework (#20218) 2 years ago
sync.go Refactor auth package (#17962) 2 years ago