Skip to content

Commit e511a6e

Browse files
committed
Drop flash from sign out action
The flow redirects to the account server. The account server may not be redirecting back. Thus the flash will only appear the next time the user hits the service site, which may actually be after they log in - thus providing a very confusing flash notice. Instead of trying to use cookies or something else to handle cross origin messages this simply drops the flash notice so no message will appear.
1 parent dd4ed2f commit e511a6e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/controllers/kracken/sessions_controller.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ def create
1313

1414
def destroy
1515
reset_session
16-
flash[:notice] = "Signed out successfully."
1716
redirect_to "#{provider_url}/users/sign_out#{signout_redirect_query}"
1817
end
1918

0 commit comments

Comments
 (0)