Skip to content

Conversation

@nfebe
Copy link
Contributor

@nfebe nfebe commented Mar 25, 2025

Looking at thee client/backend the only reason why a user would see this message is if the csrf fails so the message should be much more specific.

This commit changes the CSRF error message displayed in the login form to
provide more specific information to the user. Instead of the generic less helpful error.

Signed-off-by: nfebe <[email protected]>
Copy link
Member

@marcoambrosini marcoambrosini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noice!

@nfebe
Copy link
Contributor Author

nfebe commented Mar 25, 2025

/compile

Signed-off-by: nextcloud-command <[email protected]>
@nfebe nfebe enabled auto-merge March 25, 2025 14:17
@nfebe nfebe merged commit 652b0cc into master Mar 25, 2025
129 of 132 checks passed
@nfebe nfebe deleted the enh/no-issue/better-error-for-login-csrf branch March 25, 2025 14:47
@nfebe
Copy link
Contributor Author

nfebe commented Mar 25, 2025

/backport to stable31

@nfebe
Copy link
Contributor Author

nfebe commented Mar 25, 2025

/backport to stable30

@nfebe
Copy link
Contributor Author

nfebe commented Mar 25, 2025

/backport to stable29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

7 participants