There are several conditions under which user's credentials might be valid, but the login would need to be refused anyway. The subroutine with the Apache::exit is used to handle these cases. Prior to exiting, the subroutine sets up a redirect back to the login page (with an error displayed to the user) that ends up as the resulting page after the exit. If a return is used instead of an exit, the login proceeds anyway, which we don't want.
Obviously, the exit is handling some things that need to be unset to prevent the login, but I don't wish to use this forum to figure out how to deal with those things since the Apache::exit already achieves them. If, however, there is a way to call Apache::exit (or something else that would likely have the same effect on the login request) as described previously, but without logging the error in the logs, that would be the easiest fix. If there isn't, then I'll go some other route. Thanks....
In reply to Re^4: Apache::exit question
by memnoch
in thread Apache::exit question
by memnoch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |