Skip to Content
Menú
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
Descartar
Related Posts Respostes Vistes Activitat
0
de març 15
4518
7
de febr. 24
12250
2
de març 15
5352
1
de nov. 24
1083
0
de des. 22
2177