Set signin status to idle after failed signin
This commit is contained in:
parent
4279073fe0
commit
beb7f39471
|
@ -36,6 +36,7 @@ function M.signin()
|
||||||
local localip = wifi.getLocalIP();
|
local localip = wifi.getLocalIP();
|
||||||
if localip == nil then
|
if localip == nil then
|
||||||
log:error("signin failed no local ip found")
|
log:error("signin failed no local ip found")
|
||||||
|
M.setStatus(IDLE_STATUS,"idle")
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue