forked from dedis/d-voting
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix log in/log out helper functions
- Loading branch information
1 parent
a4b412d
commit df1111e
Showing
5 changed files
with
82 additions
and
4 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
web/frontend/tests/hars/9fd2ff4fc1fb163717539fb04aec420feeb11e5a.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Unauthenticated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"log": { | ||
"version": "1.2", | ||
"creator": { | ||
"name": "Playwright", | ||
"version": "1.40.1" | ||
}, | ||
"browser": { | ||
"name": "firefox", | ||
"version": "119.0" | ||
}, | ||
"entries": [ | ||
{ | ||
"startedDateTime": "2023-12-05T14:25:28.081Z", | ||
"time": 0.06, | ||
"request": { | ||
"method": "GET", | ||
"url": "http://127.0.0.1:3000/api/personal_info", | ||
"httpVersion": "HTTP/1.1", | ||
"cookies": [], | ||
"headers": [ | ||
{ "name": "Host", "value": "127.0.0.1:3000" }, | ||
{ "name": "User-Agent", "value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:119.0) Gecko/20100101 Firefox/119.0" }, | ||
{ "name": "Accept", "value": "*/*" }, | ||
{ "name": "Accept-Language", "value": "en-US" }, | ||
{ "name": "Accept-Encoding", "value": "gzip, deflate, br" }, | ||
{ "name": "Referer", "value": "http://127.0.0.1:3000/about" }, | ||
{ "name": "Connection", "value": "keep-alive" }, | ||
{ "name": "Sec-Fetch-Dest", "value": "empty" }, | ||
{ "name": "Sec-Fetch-Mode", "value": "cors" }, | ||
{ "name": "Sec-Fetch-Site", "value": "same-origin" } | ||
], | ||
"queryString": [], | ||
"headersSize": -1, | ||
"bodySize": -1 | ||
}, | ||
"response": { | ||
"status": 401, | ||
"statusText": "Unauthorized", | ||
"httpVersion": "HTTP/1.1", | ||
"cookies": [], | ||
"headers": [ | ||
{ "name": "x-powered-by", "value": "Express" }, | ||
{ "name": "content-type", "value": "text/html; charset=utf-8" }, | ||
{ "name": "content-length", "value": "15" }, | ||
{ "name": "etag", "value": "W/\"f-n9L/T8H7FjcXU5+wSuxCD+6xHlo\"" }, | ||
{ "name": "set-cookie", "value": "connect.sid=s%3AO6aDExYv7Ocwz6IQUJ7l0I3u0XA7OHMg.Hq5%2FbR4nwsJbDjh1kVYuXweeFTmPF9d0Tx8t%2F1T3hOQ; Path=/; Expires=Wed, 06 Dec 2023 14:25:28 GMT; HttpOnly" }, | ||
{ "name": "date", "value": "Tue" }, | ||
{ "name": "date", "value": "05 Dec 2023 14:25:28 GMT" }, | ||
{ "name": "connection", "value": "keep-alive" }, | ||
{ "name": "keep-alive", "value": "timeout=5" } | ||
], | ||
"content": { | ||
"size": -1, | ||
"mimeType": "text/html; charset=utf-8", | ||
"_file": "9fd2ff4fc1fb163717539fb04aec420feeb11e5a.html" | ||
}, | ||
"headersSize": -1, | ||
"bodySize": -1, | ||
"redirectURL": "" | ||
}, | ||
"cache": {}, | ||
"timings": { "send": -1, "wait": -1, "receive": 0.06 } | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters