Compare commits
2 Commits
es_rev9879
...
es_rev9879
| Author | SHA1 | Date | |
|---|---|---|---|
| 6a61c30689 | |||
| 88aaf9ed4c |
@@ -386,7 +386,7 @@ feature -- Form
|
|||||||
-- Update node `a_node' with form_data `a_form_data' for the given content type `a_content_type'.
|
-- Update node `a_node' with form_data `a_form_data' for the given content type `a_content_type'.
|
||||||
local
|
local
|
||||||
l_uroles: LIST [CMS_USER_ROLE]
|
l_uroles: LIST [CMS_USER_ROLE]
|
||||||
l_new_roles: ARRAYED_LIST [CMS_USER_ROLE]
|
l_new_roles: detachable ARRAYED_LIST [CMS_USER_ROLE]
|
||||||
r: detachable CMS_USER_ROLE
|
r: detachable CMS_USER_ROLE
|
||||||
rid: INTEGER
|
rid: INTEGER
|
||||||
do
|
do
|
||||||
|
|||||||
@@ -172,9 +172,10 @@ feature {NONE} -- Implementation: routes
|
|||||||
attached api.user as l_user
|
attached api.user as l_user
|
||||||
then
|
then
|
||||||
-- Logout Session
|
-- Logout Session
|
||||||
create l_cookie.make (tok, l_cookie_token.value) -- FIXME: unicode issue?
|
create l_cookie.make (tok, "") -- l_cookie_token.value) -- FIXME: unicode issue?
|
||||||
l_cookie.set_path ("/")
|
l_cookie.set_path ("/")
|
||||||
l_cookie.set_max_age (-1)
|
l_cookie.unset_max_age
|
||||||
|
l_cookie.set_expiration_date (create {DATE_TIME}.make_from_epoch (0))
|
||||||
res.add_cookie (l_cookie)
|
res.add_cookie (l_cookie)
|
||||||
api.unset_user
|
api.unset_user
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user