From e0b4dff6bc76ad7f3021e579cfa23477752140ff Mon Sep 17 00:00:00 2001 From: Brent Dearth Date: Fri, 30 Oct 2015 15:33:49 -0600 Subject: [PATCH] fix(before_filter): revert change to sign_in bypass to last stable --- app/controllers/devise_token_auth/concerns/set_user_by_token.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/devise_token_auth/concerns/set_user_by_token.rb b/app/controllers/devise_token_auth/concerns/set_user_by_token.rb index 35101b586..ebed505e8 100644 --- a/app/controllers/devise_token_auth/concerns/set_user_by_token.rb +++ b/app/controllers/devise_token_auth/concerns/set_user_by_token.rb @@ -56,7 +56,7 @@ def set_user_by_token(mapping=nil) user = uid && rc.find_by_uid(uid) if user && user.valid_token?(@token, @client_id) - sign_in(:user, user, store: false, bypass: false) + sign_in(:user, user, store: false, bypass: true) return @resource = user else # zero all values previously set values