Forums / General / LoginHandler : Custom error ?
H-Works Agency
Friday 15 July 2011 10:54:17 am
Hello,
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....
....
EZP is Great
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs