thecore_ui_rails_admin 3.0.9 → 3.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb00da1db8502b80a343d307bac474a1384f2bd2e48b171794931227fd89b907
4
- data.tar.gz: 8e95d44ff179514d817333c8e1e4383ee6dad3a6914b25b5940c3e66284033ac
3
+ metadata.gz: a21cf5cb664889b6398225db6b03f6eecee4b2b7a5b40be20faaaa74fc2a00b6
4
+ data.tar.gz: 0c8ddc740f438d4f92485486772f43f50eb4642f3ca49688f331c32b2442e552
5
5
  SHA512:
6
- metadata.gz: e6d8ec9b9279dfeab789ded2e7c275ab04159385ff00872f818b1bd47d6330ef4adf71b5c520c9389da850ed074d9220d85b3bad1773ba49d1640f98dde95ca6
7
- data.tar.gz: 3208deb20e1c0afb284b761098187fc9f3a7ce854f2b98d1c3dc23878486ebc6180d59c07ee7658f81f0802b63057d6ca920172694b910fa7a1228f67c224b02
6
+ metadata.gz: 1436b2d2c1330ba34395f1e487eb8db6b2ccbfeeee25520ecea3adfa23ad692bcefe940981d3190ff6b75545f5daef963e1d190691aab6d1899cfd272f0427f2
7
+ data.tar.gz: 3f2e1dc873dfb209b3af05e6aa233e57cd66607d69c25a350c07cd051991a19df1a99fc797afe08af61ae2eda415dc928a45013660efe565215b3e5b273bd90f
@@ -7,7 +7,7 @@ module ThecoreUiRailsAdminActionControllerConcern
7
7
  # Prevent CSRF attacks by raising an exception.
8
8
  # For APIs, you may want to use :null_session instead.
9
9
  # layout 'thecore'
10
- puts "Protecting from Forgery with exception and prepend #{ENV["SECRET_KEY_BASE"]}"
10
+ puts "Protecting from Forgery with exception and prepend"
11
11
  protect_from_forgery with: :exception, prepend: true, except: :sign_in
12
12
  rescue_from CanCan::AccessDenied do |exception|
13
13
  redirect_to main_app.root_url, alert: exception.message
@@ -17,7 +17,6 @@ module ThecoreUiRailsAdminActionControllerConcern
17
17
  before_action :store_user_location!, if: :storable_location?
18
18
  before_action :configure_permitted_parameters, if: :devise_controller?
19
19
  before_action :reject_locked!, if: :devise_controller?
20
- before_action :debug_csrf
21
20
 
22
21
  helper_method :reject_locked!
23
22
  helper_method :require_admin!
@@ -148,9 +147,4 @@ module ThecoreUiRailsAdminActionControllerConcern
148
147
  def is_storable?
149
148
  true
150
149
  end
151
-
152
- def debug_csrf
153
- puts "CSRF: #{params["authenticity_token"]}"
154
- puts "Authenticity Token #{ENV["SECRET_KEY_BASE"]}"
155
- end
156
150
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_rails_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.9
4
+ version: 3.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni