Index: openacs-4/packages/acs-tcl/tcl/security-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/security-procs.tcl,v diff -u -N -r1.126.2.33 -r1.126.2.34 --- openacs-4/packages/acs-tcl/tcl/security-procs.tcl 3 Jul 2020 07:27:29 -0000 1.126.2.33 +++ openacs-4/packages/acs-tcl/tcl/security-procs.tcl 21 Jul 2020 14:02:09 -0000 1.126.2.34 @@ -1010,7 +1010,7 @@ # # We are on normal subsite # - if { [ad_conn isconnected] } { + if { [ns_conn isconnected] } { set url [subsite::get_element -element url] # # Check to see that the user (most likely "The Public" @@ -1078,7 +1078,7 @@ # because that will frequently interfere with the normal login # procedure. # - if { [ad_conn isconnected] && $return_p && ![string match "register/*" [ad_conn extra_url]] } { + if { [ns_conn isconnected] && $return_p && ![string match "register/*" [ad_conn extra_url]] } { # # In a few cases, we do not need to add a fully qualified # return url. The secure cases have to be still tested.