added logout method
This commit is contained in:
parent
2c87424b0d
commit
fbe9a64aaa
|
@ -76,8 +76,9 @@ class PseudoMembersController < PseudoSessionController
|
||||||
end
|
end
|
||||||
|
|
||||||
def logoutuser
|
def logoutuser
|
||||||
destroy_cpanel_session
|
destroy_pseudo_session
|
||||||
redirect_to member_login_path
|
loginpath = "/" + I18n.locale.to_s + Page.where(:module => "pseudo_member").first.url
|
||||||
|
redirect_to loginpath
|
||||||
end
|
end
|
||||||
|
|
||||||
def loginuser
|
def loginuser
|
||||||
|
|
Loading…
Reference in New Issue