If user_external can not login over imap show a message what the error was!
Actual behaviour
It just shows a general purpose error message, that login was not successful.
It took me over an hour to find out, that the user_external app was properly enabled and even executed, just that the server certificate was wrong.
I managed to find that out by adding only adding a single line to imap.php
Affected apps
user_external
Expected behaviour
If user_external can not login over imap show a message what the error was!
Actual behaviour
It just shows a general purpose error message, that login was not successful.
It took me over an hour to find out, that the user_external app was properly enabled and even executed, just that the server certificate was wrong. I managed to find that out by adding only adding a single line to imap.php
OCP\Util::writeLog('user_external', implode('|', imap_errors()), OCP\Util::ERROR);
Steps to reproduce