This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/modules/setting
zeripath b33f7f792b
Prevent creating empty sessions (#6677)
* Prevent creating empty sessions

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

* Update modules/setting/session.go

* Remove unnecessary option

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

* Add destory to list of ignored misspellings

* rename cookie.go -> virtual.go

* Delete old file

* Add test to ensure that sessions are not created without being logged in

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

* fix tests

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

* Update integrations/create_no_session_test.go
2019-04-20 07:44:50 +01:00
..
cache.go Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
cron.go Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
git.go Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
indexer.go Issue indexer queue redis support (#6218) 2019-04-08 12:05:15 +03:00
log.go Quieter Integration Tests (#6513) 2019-04-07 03:25:14 +03:00
mailer.go Add SUBJECT_PREFIX mailer config option (#6605) 2019-04-17 00:56:40 -04:00
markup.go split setting.go to multiple files (#6154) 2019-03-16 11:12:44 +08:00
repository.go Better logging (#6038) (#6095) 2019-04-02 08:48:31 +01:00
service.go Allow to set organization visibility (public, internal, private) (#1763) 2019-02-18 18:00:27 +02:00
session.go Prevent creating empty sessions (#6677) 2019-04-20 07:44:50 +01:00
setting.go Fixes 4762 - Content API for Creating, Updating, Deleting Files (#6314) 2019-04-17 12:06:35 -04:00
webhook.go Add support for MS Teams webhooks (#6632) 2019-04-19 10:18:06 -04:00