0
0
mirror of https://github.com/Doodle3D/doodle3d-firmware.git synced 2024-11-15 02:07:57 +01:00

When settings are saved, firmware signs in (for changed wifiboxid)

This commit is contained in:
peteruithoven 2013-10-02 14:41:46 +02:00
parent e7db73a09b
commit 8fc5273509

View File

@ -1,6 +1,7 @@
local log = require('util.logger')
local settings = require('util.settings')
local printer = require('util.printer')
local signin = require('network.signin')
local M = {
isApi = true
@ -26,6 +27,10 @@ function M._global_POST(request, response)
else response:addData(k, "could not set key ('" .. m .. "')")
end
end
log:info("API:Network:try signing in")
signin.signin();
log:info("API:Network:signed in")
end
function M.all_GET(request, response)