Hello,
I want to integrate login prompt for admin user in my app can you help me with this?
(I want to check admin password)
Do you have any example??
(request.username is not goob because must be enabled password for APP)
I've tried something like this: (is it right way?)
Thank you.
I want to integrate login prompt for admin user in my app can you help me with this?
(I want to check admin password)
Do you have any example??
(request.username is not goob because must be enabled password for APP)
I've tried something like this: (is it right way?)
Code:
require('json')
require('socket.http')
password = 'admin'
res, err = socket.http.request('http://192.168.0.10/apps/request.lp?action=check&password='..password)
--log(res, err)
log(json.pdecode(res))
Thank you.