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'.
|
||||
local
|
||||
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
|
||||
rid: INTEGER
|
||||
do
|
||||
|
||||
@@ -172,9 +172,10 @@ feature {NONE} -- Implementation: routes
|
||||
attached api.user as l_user
|
||||
then
|
||||
-- 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_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)
|
||||
api.unset_user
|
||||
|
||||
|
||||
Reference in New Issue
Block a user