Updated authentication.

This commit is contained in:
Ojakoo
2022-07-04 11:13:02 +03:00
parent fab3479ad0
commit 9005c3dd93
5 changed files with 83 additions and 38 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ test("User is redirected to login when JWT token is invalid", async (t) => {
* Test if the user is redirected to login when JWT token is invalid.
*/
const setCookie = ClientFunction(() => {
document.cookie = "jwt=FOOBAR";
document.cookie = "jwt_access=FOOBAR";
});
await setCookie();
await t.navigateTo("/admin/events");