Utils.js: fix cookie handling
Use unsecure cookie foör testing.
This commit is contained in:
1 parent
9f49fe1d5d
commit
f484eed3c2
2 files changed
+4
-3
No files matched your search
@@ -295,8 +295,6 @@ fn get_index() -> BoxFut {
|
||||
let resp = Response::builder()
|
||||
.status(StatusCode::OK)
|
||||
.header(header::CONTENT_TYPE, "text/html")
|
||||
// emulate succssful login, so that Proxmox:Utils.authOk() returns true
|
||||
.header(header::SET_COOKIE, "PBSAuthCookie=\"XXX\"") // fixme: remove
|
||||
.body(index.into())
|
||||
.unwrap();
|
||||
|
||||
|
||||
Reference in new issue
Block a user