eZ Community » Forums » General » LoginHandler : Custom error ?

LoginHandler : Custom error ?

LoginHandler : Custom error ?

Friday 15 July 2011 7:54:17 pm


Inside a loginHandler how is it possible to return a custom error code ?

For now the only process i know is to "return false" which lead to default access refused but how can i diversify refusal ?


Like :

return 6 => Access deny : This account doesn't exists

return 4 => Access deny : Your account exists but you don't have the right to go there....


No reply yet!


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from