hassio-addons / addon-bitwarden

Vaultwarden (Bitwarden) - Home Assistant Community Add-ons
https://addons.community
MIT License
156 stars 43 forks source link

Client IP problem with email #311

Closed Link0Darck closed 3 months ago

Link0Darck commented 3 months ago

Problem

When we try to connect we receive an email to warn us of a connection the problem is that it does not really give the right ip.

Expected behavior

That we are the right ip.

Actual behavior

It sends the email but not with the right ip.

Steps to follow to reproduce

connect with bitwarden the extension and we receive the email.

Proposed modifications

You can add the way that people can do reverse proxy (in my case it is nginx) then the cloudflare ip so that we are really the client ip.

Thanks in advance

Link0Darck commented 3 months ago

problem solved put X-Forwarded-For sorry for the inconvenience