diff --git a/app/controllers/pseudo_members_controller.rb b/app/controllers/pseudo_members_controller.rb index 0f52069..68c37b3 100644 --- a/app/controllers/pseudo_members_controller.rb +++ b/app/controllers/pseudo_members_controller.rb @@ -76,8 +76,9 @@ class PseudoMembersController < PseudoSessionController end def logoutuser - destroy_cpanel_session - redirect_to member_login_path + destroy_pseudo_session + loginpath = "/" + I18n.locale.to_s + Page.where(:module => "pseudo_member").first.url + redirect_to loginpath end def loginuser