Disabling in-band registration causes authentication to fail?

I'm using ODBC to authenticate users and am entering users into the users DB table. However when I disable in-band registration in the config file with:

{access,register,[{deny,all}]}.

authentication fails for everyone. When I switch it back to {access,register,[{allow,all}]} authentication is fine. How can I disable in-band registration without breaking odbc authentication in ejabberd 2?

EDIT:
nevermind. Example 2 on the following page actually worked: http://www.process-one.net/docs/ejabberd/guide_en.html#htoc57

Syndicate content