Yes, I was trying to make it as close to the MySQL module behaviour as possible. I guess MySQL doesn't have that option.
I will try to figure this out and generate a new patch. I guess need to look at authreg.pgsql.sql.checkpassword and branch to the old code if it is defined. I think I should create a new function _ar_pgsql_dbcheck_password with the old code and point to it in the init function if needed.
I also wonder if this crypt code shouldn't be in authreg.c but that's a larger rototill.
Yes, I was trying to make it as close to the MySQL module behaviour as possible. I guess MySQL doesn't have that option.
I will try to figure this out and generate a new patch. I guess need to look at authreg. pgsql.sql. checkpassword and branch to the old code if it is defined. I think I should create a new function _ar_pgsql_ dbcheck_ password with the old code and point to it in the init function if needed.
I also wonder if this crypt code shouldn't be in authreg.c but that's a larger rototill.