added logout method
This commit is contained in:
parent
2c87424b0d
commit
fbe9a64aaa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue