4.1 POST_LOGIN question
JozisSep 14 2011 — edited Dec 21 2011Hello friends,
In my applications i have created custom login page. The purpose was to show more meaningful error messages if the authentication failed, like "Account locked" or "Account expired" ...
On login page I call my own authentication function. Depeding or the result the appropriate message is shown. If the authentication is successful - I call APEX_CUSTOM_AUTH.POST_LOGIN which registers the session.
It all worked well unitl I upgraded to Apex 4.1. Now POST_LOGIN keeps throwing that "Invalid login credentials" message. It looks that functionality of POST_LOGIN has been changed in 4.1.
Is there another way how to display custom messages if login was unsuccessful?
Thank you
Janis