18 lines
382 B
Plaintext
18 lines
382 B
Plaintext
import "pkg:/source/api/userauth.bs"
|
|
import "pkg:/source/api/baserequest.bs"
|
|
import "pkg:/source/utils/config.bs"
|
|
|
|
sub init()
|
|
m.top.functionName = "monitorQuickConnect"
|
|
end sub
|
|
|
|
sub monitorQuickConnect()
|
|
authenticated = checkQuickConnect(m.top.secret)
|
|
|
|
if authenticated = true
|
|
m.top.authenticated = 1
|
|
else
|
|
m.top.authenticated = -1
|
|
end if
|
|
end sub
|