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

Distinguish wrong credentials from other problems (IMAP) #228

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

BjoKaSH
Copy link
Contributor

@BjoKaSH BjoKaSH commented May 18, 2023

Changes proposed in this pull request:

  • evaluate cURL error code to log the reason why a login failed

Verifying login data can fail for a number of reasons like temporary connection failure to the IMAP server, Internal problems of the IMAP server, or actually wrong username / password combination.

This change logs the reason for login failures, helping server admins to diagnose login problems and better support their users.

Ideally, we would have an option to pass the reason upwards, so the NextCloud login system can show appropriate errors to users attempting to login.

Verifying login data can fail for a number of reasons like temporary
connection failure to the IMAP server, Internal problems of the IMAP
server, or actually wrong username / password combination.

This change logs the reason for login failures, helping server admins to
diagnose login problems and better support their users.

Ideally, we would have an option to pass the reason upwards, so the
NextCloud login system can show appropriate errors to users attempting
to login.

Signed-off-by: Bjoern Kahl <[email protected]>
@violoncelloCH violoncelloCH self-requested a review March 29, 2024 23:51
@violoncelloCH violoncelloCH added this to the v4.0.0 milestone Mar 29, 2024
@violoncelloCH violoncelloCH merged commit b27d85a into nextcloud:master Apr 2, 2024
2 checks passed
@violoncelloCH
Copy link
Member

Thanks for the contribution @BjoKaSH

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

Successfully merging this pull request may close these issues.

2 participants