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

Add countdown redirection to User Invite error page #20082

Merged
merged 5 commits into from Dec 11, 2022

Conversation

samjf
Copy link
Contributor

@samjf samjf commented Dec 7, 2022

Description:

This addition adds a countdown redirection to the User invite error page. If a user clicked on an expired or invalid invite link then they would be redirected back to the login page of the Matomo instance. This helps the user back out of the exception error page.

I've also written the translation of the error in more plain language. This provides a couple of clear reasons which they can attempt to resolve.

An additional change was to remove the Login_InvalidUsernameEmail translation when the acceptInvitation controller couldn't find a user. This response might be a bit confusing as it is really the technical downstream reason for failure and not really actionable by the user.

image

Review

@samjf samjf marked this pull request as ready for review December 8, 2022 19:59
@samjf samjf added the Needs Review PRs that need a code review label Dec 8, 2022
Copy link
Contributor

@bx80 bx80 left a comment

Choose a reason for hiding this comment

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

Tests well for me 👍

@bx80 bx80 removed the Needs Review PRs that need a code review label Dec 11, 2022
@bx80 bx80 merged commit d45e588 into 4.x-dev Dec 11, 2022
@bx80 bx80 deleted the c913_addAcceptInviteErrorPage branch December 11, 2022 21:34
@sgiehl sgiehl added this to the 4.13.1 milestone Jan 16, 2023
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.

None yet

3 participants