From d7ba5afc9d4496a88778ce93f2f31f85b852d12f Mon Sep 17 00:00:00 2001 From: SidneyNiccolson Date: Mon, 2 Jul 2018 14:48:54 +0200 Subject: [PATCH] missing parameter --- src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.rs b/src/server.rs index 21f25081..7601202b 100644 --- a/src/server.rs +++ b/src/server.rs @@ -210,7 +210,7 @@ fn connect(req: &mut Request) -> IronResult { let ws = get_param!(params, "ws", String); let serial = get_param!(params, "serial", String); let secret = get_param!(params, "secret", String); - (ssid, passphrase, api, ws, serial, secret) + (ssid, identity, passphrase, api, ws, serial, secret) }; // Handle writing files let json_path = Path::new("/data/kit_config.json");