I'm currently using 2 different servers (AD and Radius) to authenticate users with custom pages. If the first authentication fails then it says : invalid primary user or password. If the 2nd authentication fails it says invalid secondary user or password.
I want to change these 2 messages but also to keep them different (ex. : Radius authentication failed, AD authentication failed)
If I use the error code 1002 in the login page then I can change these two messages but both of them become the same custom messages.
Is there a way to keep the two error message but customize them?