File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
services/web/server/src/simcore_service_webserver/login Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 1010from servicelib .logging_utils import get_log_record_extra , log_context
1111from servicelib .mimetype_constants import MIMETYPE_APPLICATION_JSON
1212from servicelib .request_keys import RQT_USERID_KEY
13- from settings_library .utils_session import DEFAULT_SESSION_COOKIE_NAME_LEGACY
1413from simcore_postgres_database .models .users import UserRole
1514
1615from .._meta import API_VTAG
@@ -270,10 +269,7 @@ async def login_2fa(request: web.Request):
270269
271270 # dispose since code was used
272271 await delete_2fa_code (request .app , login_2fa_ .email )
273-
274- response = await login_granted_response (request , user = dict (user ))
275- response .del_cookie (DEFAULT_SESSION_COOKIE_NAME_LEGACY )
276- return response
272+ return await login_granted_response (request , user = dict (user ))
277273
278274
279275class LogoutBody (InputSchema ):
You can’t perform that action at this time.
0 commit comments