* Use mount but not register for chi routes
* Fix test
* Fix test
* Fix test
* Fix comment
* turn back unnecessary change
* Remove the timout middleware since some operations may spend much time.
Replace all calls to os.Remove/os.RemoveAll by retrying util.Remove/util.RemoveAll and remove circular dependencies from util.
Fix#12339
Signed-off-by: Andrew Thornton <[email protected]>
Co-authored-by: silverwind <[email protected]>
* Prevent creating empty sessions
Signed-off-by: Andrew Thornton <[email protected]>
* Update modules/setting/session.go
* Remove unnecessary option
Signed-off-by: Andrew Thornton <[email protected]>
* 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 <[email protected]>
* fix tests
Signed-off-by: Andrew Thornton <[email protected]>
* Update integrations/create_no_session_test.go