mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Remove duplicated flash notice from app/controllers/spree/user_sessions_controller.rb
Remove flash duplicattion in favor of already existing devise default flash notice Co-authored-by: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com>
This commit is contained in:
@@ -45,7 +45,6 @@ module Spree
|
||||
# Logout will clear session data including shopfront_redirect
|
||||
# Here we store it before actually logging out so that the redirect works correctly
|
||||
@shopfront_redirect = session[:shopfront_redirect]
|
||||
flash.notice = t('devise.sessions.signed_out')
|
||||
|
||||
super
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user