• Tan Le's avatar
    Use IP address from request on audit events · ec17dd6e
    Tan Le authored
    IP address captured in `current_sign_in_ip` does not refresh if the user
    re-uses an existing session. It is the last IP used to sign in. IP
    address from `request` object is fresher and should be use as default.
    
    IP address in details hash needs to be extracted in the initializer to
    avoid being overridden by the chaining building method (i.e. for_).
    ec17dd6e
217439-use-request-ip-address-audit-events.yml 98 Bytes