api2/access.rs: add ticket api

This commit is contained in:
Dietmar Maurer
2019-01-30 15:14:20 +01:00
parent 1bf446a33e
commit 34f956bc25
8 changed files with 262 additions and 11 deletions

View File

@ -247,8 +247,8 @@ fn handle_async_api_request(
fn get_index() -> BoxFut {
let nodename = tools::nodename();
let username = "fakelogin"; // todo: implement real auth
let token = "abc";
let username = ""; // fixme: implement real auth
let token = "";
let setup = json!({
"Setup": { "auth_cookie_name": "PBSAuthCookie" },