opencrvs / opencrvs-core

A global solution to civil registration
https://www.opencrvs.org
Other
88 stars 72 forks source link

In User Audit page, IP address are showing wrong for different actions #7720

Open SyedaAfrida opened 1 month ago

SyedaAfrida commented 1 month ago

Bug description: In User Audit page, IP address are showing wrong for different actions

Steps to reproduce:

  1. Login as National system admin
  2. Go to team
  3. Observe User audit page of any FA/RA/Registrar
  4. Observe User audit page of any National/local system admin

Actual result:

Expected result: should show like Windows (Chrome) • 119.148.49.98

Screenshot/ Recording:

https://github.com/user-attachments/assets/e253c39f-fef5-4e6c-9c85-ff68889b47b7

Note: Need to cherry pick as existed in V1.5.0

Tested on: https://login.farajaland-qa.opencrvs.org/?lang=en

Version: V1.6.0, V1.5.0

Zangetsu101 commented 1 week ago

Are IP addresses even relevant with the system being behind a VPN?

rikukissa commented 1 week ago

Is it correct to say the problem is User-Agent header not getting saved properly?