Index: openacs-4/packages/acs-core-docs/www/xml/kernel/ext-auth-design.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/kernel/ext-auth-design.xml,v diff -u -N -r1.4.8.1 -r1.4.8.2 --- openacs-4/packages/acs-core-docs/www/xml/kernel/ext-auth-design.xml 27 Aug 2013 10:52:33 -0000 1.4.8.1 +++ openacs-4/packages/acs-core-docs/www/xml/kernel/ext-auth-design.xml 13 Oct 2013 10:33:55 -0000 1.4.8.2 @@ -434,7 +434,7 @@ User is redirected to /register/index.tcl if login is required (i.e. auth::require is specified) and the login is taken care of by user-login.tcl. If user not registered (i.e. - $auth_info(account_status) == "no_account" + $auth_info(account_status) eq "no_account" ), user is redirected to user-register.tcl. @@ -1654,7 +1654,7 @@ # Should make use of auth::password::RetrievePassword set body "[_ acs-subsite.lt_Please_follow_the_fol]" # Send email -if [catch {ns_sendmail $email $system_owner $subject $body} errmsg] { +if {[catch {ns_sendmail $email $system_owner $subject $body} errmsg]} { ad_return_error \ "[_ acs-subsite.Error_sending_mail]" \ "[_ acs-subsite.lt_Now_were_really_in_tr] @@ -1852,7 +1852,7 @@ set subject "some other i18n key msg" set body "some other i18n key msg" # Send email -if [catch {ns_sendmail $email $system_owner $subject $body} errmsg] { +if {[catch {ns_sendmail $email $system_owner $subject $body} errmsg]} { ad_return_error \ "[_ acs-subsite.Error_sending_mail]" \ "[_ acs-subsite.lt_Now_were_really_in_tr]