Hello, How can i get the ip address and the user-a...
# help
a
Hello, How can i get the ip address and the user-agent of an user if I need it for legal reasons ?
n
Hello @abc222! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
o
For legal reasons, you can use logs available on the dashboard directly, everything is available there @abc222
n
abc222 (2022-05-12)
a
So it's impossible to make a poll that restrict votes based on IP or User-Agent ?
g
https://postgrest.org/en/stable/api.html#http-context. You can access the request headers with that in functions or RLS.