mirror of
1
Fork 0
Commit Graph

1 Commits

Author SHA1 Message Date
Gusted 90307ad200
[GITEA] Fix session generation for database
- If the session doesn't exist, it shouldn't be expected that the
variable is non-nil. Define the session variable instead and insert that.
- Add unit tests to test the behavior of the database sessions code .
- Regression caused by dd30d9d5c0.
- Resolves https://codeberg.org/forgejo/forgejo/issues/2042
2023-12-27 23:34:05 +01:00