I try search about unlang and write it to accept user even though wrong
password and chap reject.
i need to set wrong password user to ip group and then redirect them to
html explain about the problem.
i try this unlang in chap
authenticate {
??????? #?
??????? #? PAP authentication, when a back-end database listed
??????? #? in the 'authorize' section supplies a password.? The
??????? #? password can be clear-text, or encrypted.
??????? Auth-Type PAP {
??????????????? pap
??????? }
??????? #
??????? #? Most people want CHAP authentication
??????? #? A back-end database listed in the 'authorize' section
??????? #? MUST supply a CLEAR TEXT password.? Encrypted passwords
??????? #? won't work.
??????? Auth-Type CHAP {
??????????????? chap