Hi there,
User registration has been tweaked a little bit in order to add new fields such as: phone number FacebookID and etc. However, now the IP address is not persisted correctly anymore on acs_objects table. Since then, the system has registered localhost to all accounts (i.e. 127.0.0.1)
I found the piece of code, which I believe that corresponds to peeraddr assignment defined in packages/acs-authentication/tcl/authentication-procs.tcl
in the ad_proc auth::create_local_account_helper .
set creation_user ""
set peeraddr ""
# This may fail, either because there's no connection, or because
# we're in the bootstrap-installer, at which point [ad_conn user_id] is undefined.
catch {
set creation_user [ad_conn user_id]
set peeraddr [ad_conn peeraddr]
}
I'd like to understand why the correct user's IP address hasn't been assigned anymore, plus, what can be done to get it back on track
Best wishes,