1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 05:54:36 +01:00
gitea/modules
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
..
auth Add support for MS Teams webhooks (#6632) 2019-04-19 10:18:06 -04:00
avatar
base
cache
context Unifies pagination template usage (#6531) (#6533) 2019-04-20 00:15:19 -04:00
cron
generate
git
gzip
highlight
httplib
indexer
lfs
log
mailer
markup
metrics
minwinsvc
notification
options
pprof
private
process
public
recaptcha
repofiles
search
secret
session Prevent creating empty sessions (#6677) 2019-04-20 07:44:50 +01:00
setting Prevent creating empty sessions (#6677) 2019-04-20 07:44:50 +01:00
ssh
structs
sync
templates
test
user
util
validation