This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Login prompt in my App for Admin user
#1
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?)

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.
Reply


Messages In This Thread
Login prompt in my App for Admin user - by merel - 10.04.2019, 07:57

Forum Jump: