Hook code not working

Registration hooks currently only work with database connections. Is your app configured with a database connection, or another type of login?