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:
parent
e7db73a09b
commit
8fc5273509
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user