mirror of
https://github.com/Doodle3D/doodle3d-firmware.git
synced 2024-12-22 19:13:49 +01:00
Don't signin after saving settings (is done on client side)
This commit is contained in:
parent
80dda36421
commit
88a779e8bf
@ -2,7 +2,7 @@ local log = require('util.logger')
|
|||||||
local utils = require('util.utils')
|
local utils = require('util.utils')
|
||||||
local settings = require('util.settings')
|
local settings = require('util.settings')
|
||||||
local printer = require('util.printer')
|
local printer = require('util.printer')
|
||||||
local signin = require('network.signin')
|
--local signin = require('network.signin')
|
||||||
local wifi = require('network.wlanconfig')
|
local wifi = require('network.wlanconfig')
|
||||||
local accessManager = require('util.access')
|
local accessManager = require('util.access')
|
||||||
local printerAPI = require('rest.api.api_printer')
|
local printerAPI = require('rest.api.api_printer')
|
||||||
@ -72,12 +72,13 @@ function M._global_POST(request, response)
|
|||||||
local substitutedSsid = wifi.getSubstitutedSsid(settings.get('network.ap.ssid'))
|
local substitutedSsid = wifi.getSubstitutedSsid(settings.get('network.ap.ssid'))
|
||||||
response:addData("substituted_ssid",substitutedSsid)
|
response:addData("substituted_ssid",substitutedSsid)
|
||||||
|
|
||||||
log:info("API:Network:try signing in")
|
-- we now call signin seperatly trough cgi-bin
|
||||||
|
--[[log:info("API:Network:try signing in")
|
||||||
if signin.signin() then
|
if signin.signin() then
|
||||||
log:info("API:Network:signin successfull")
|
log:info("API:Network:signin successfull")
|
||||||
else
|
else
|
||||||
log:info("API:Network:signin failed")
|
log:info("API:Network:signin failed")
|
||||||
end
|
end]]--
|
||||||
end
|
end
|
||||||
|
|
||||||
function M.all_GET(request, response)
|
function M.all_GET(request, response)
|
||||||
|
Loading…
Reference in New Issue
Block a user