On Dec 15, 2021, at 1:03 PM, mohamed almeshal <mohammed.almeshal@hotmail.com> wrote:
I'm using php just to call some accessory type functions that work with php not for authentication , I think that will not affect any thing
That's fine.
and also I found this in docs sorry for interput.
now my last dummy question is : I'm using password-with-header : so if the password is wrong what module is rejected so I can implement custom replay message I'm using pap and I try to some couples integers with no luck it's keeps on invalid username and password . also if I set auth-type = reject what is the module that reject to handle also custom replay message
There is no "module" which handles reject. Read sites-available/default, and look for "Post-Auth-Type Reject". That's what handles the rejects. Or, run it in debug mode and see what happens when the user is rejected. That is the intended purpose of the debug output... Alan DeKok.