Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user_external should log error message if authentication over imap does not work #3279

Closed
yennor opened this issue Jan 26, 2017 · 1 comment

Comments

@yennor
Copy link

yennor commented Jan 26, 2017

Steps to reproduce

  1. activate user_external app
  2. change config.php to activate login over imap (but have an error in your configuration)
  3. try to login

Expected behaviour

If it 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);

@nickvergessen
Copy link
Member

Please open a new issue in the repository of the app:
https://github.com/nextcloud/apps/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants