Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged


import httpagentparser
from itertools import chain

        uid = super(res_users, self).authenticate(db, login, password, user_agent_env)
        ip_address = request.httprequest.environ['REMOTE_ADDR'] <<<  here is the code for ip its working fyn when its http
        agent = request.httprequest.environ.get('HTTP_USER_AGENT')
        agent_details = httpagentparser.detect(agent)

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
mar. 15
4545
7
feb. 24
12264
2
mar. 15
5378
1
nov. 24
1100
0
dec. 22
2198