heartcombo--devise/lib/devise
Carlos Antonio da Silva b5172a0cdb Fix csrf cleanup for Rails 7.1 (main)
Rails implemented a CSRF token storage strategy to allow storing the
CSRF tokens outside of the sessios (for example, in an encrypted
cookie), and changed how the value is kept around during the request
cycle, by using a request.env value.

We still want to ensure the final session value is cleaned correctly in
the test, but the implementation needed to change since we can't simply
delete from the session anymore, we need to make sure we call the Rails
methods for resetting the current storage strategy so it works with all
of them.

https://github.com/rails/rails/pull/44283
2022-04-22 11:08:44 -03:00
..
controllers Update the urls which refer nonexistent master branch name in documentations 2022-04-21 23:29:30 +09:00
hooks Fix csrf cleanup for Rails 7.1 (main) 2022-04-22 11:08:44 -03:00
mailers Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
models Revise docs from #5405 2021-10-06 19:20:07 -03:00
omniauth Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
orm Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
rails Add spaces around method arguments when setting default values 2020-08-31 18:15:45 -03:00
strategies fix text redundancy 2019-03-17 21:20:06 -03:00
test Fix hanging tests for streaming controllers using Devise 2020-08-26 12:02:09 -04:00
delegator.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
encryptor.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
failure_app.rb Remove commented out code 2020-06-23 08:50:20 -03:00
mapping.rb Add spaces around method arguments when setting default values 2020-08-31 18:15:45 -03:00
models.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
modules.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
omniauth.rb Simplify OmniAuth version check by trying to load the gem with the necessary version 2021-01-22 09:16:58 -03:00
parameter_filter.rb Fix bug: `ParameterFilter` should not add keys (#3431) (#4457) 2018-05-15 10:47:18 -03:00
parameter_sanitizer.rb Fix error when params is not a hash 2018-05-09 14:56:50 -03:00
rails.rb Create `Devise::SecretKeyFinder` 2018-03-17 20:28:38 -03:00
secret_key_finder.rb find auto-generated secret_key_base in development (#4869) 2018-05-14 18:09:25 -03:00
test_helpers.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
time_inflector.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
token_generator.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
version.rb Bump to 4.8.1 with Rails 7 support 2021-12-16 08:04:21 -03:00