mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-03 02:35:52 +03:00
eyre: append set-cookie header rather than clobbering
This commit is contained in:
parent
53a876e977
commit
b2d3114ebb
@ -2925,9 +2925,9 @@
|
||||
|= =session
|
||||
session(expiry-time (add now session-timeout))
|
||||
=- response-header.http-event(headers -)
|
||||
%^ set-header:http 'set-cookie'
|
||||
(session-cookie-string session-id &)
|
||||
headers.response-header.http-event
|
||||
%+ snoc
|
||||
headers.response-header.http-event
|
||||
['set-cookie' (session-cookie-string session-id &)]
|
||||
::
|
||||
=* connection u.connection-state
|
||||
::
|
||||
|
Loading…
Reference in New Issue
Block a user