Thanks, this works great except for 1 thing. When an incorrect username is entered (with any password), I get an expected ’incorrect username or password’ error. However, when entering a valid username with a bad password, I get a modx parse error:
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: imap_open() [function.imap-open]: Couldn't open stream {localhost:143/imap/novalidate-cert}INBOX
Error type/ Nr.: Warning - 2
File: /srv/www/internal/manager/includes/document.parser.class.inc.php(745) : eval()'d code
Line: 69
Parser timing
MySQL: 0.0053 s (6 Requests)
PHP: 16.3560 s
Total: 16.3613 s
Ideally for either condition, I’d have the ability to send the user to a particular modx page where a custom error page could be maintained.