Index: openacs-4/packages/acs-authentication/tcl/authentication-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-authentication/tcl/authentication-procs.tcl,v diff -u -r1.114.2.31 -r1.114.2.32 --- openacs-4/packages/acs-authentication/tcl/authentication-procs.tcl 17 Jul 2024 13:56:43 -0000 1.114.2.31 +++ openacs-4/packages/acs-authentication/tcl/authentication-procs.tcl 28 Aug 2024 10:06:11 -0000 1.114.2.32 @@ -126,7 +126,11 @@ if { [string is false [parameter::get_from_package_key \ -package_key acs-authentication \ -parameter AllowSelfRegister]] } { - util_user_message -message "Self registration is not allowed" + if {[ad_conn session_id] ne ""} { + util_user_message -message "Self registration is not allowed" + } else { + ns_log notice "auth::self_registration: cannot set user_message 'Self registration is not allowed'" + } auth::require_login } }