Add QR code pairing

This commit is contained in:
Yukino Song
2024-08-31 12:04:39 +08:00
parent d416886999
commit 6e407578c3
10 changed files with 262 additions and 31 deletions

View File

@@ -835,6 +835,8 @@ namespace confighttp {
}
outputTree.put("otp", nvhttp::request_otp(passphrase, deviceName));
outputTree.put("ip", platf::get_local_ip_for_gateway());
outputTree.put("name", config::nvhttp.sunshine_name);
outputTree.put("status", true);
outputTree.put("message", "OTP created, effective within 3 minutes.");
}