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

Blank page when trying to set password after registration #1195

Closed
haarli opened this issue Oct 28, 2020 · 2 comments · Fixed by #1196
Closed

Blank page when trying to set password after registration #1195

haarli opened this issue Oct 28, 2020 · 2 comments · Fixed by #1196
Assignees
Labels
bug Issue found during QA testphase (qa-imeji)
Projects

Comments

@haarli
Copy link
Member

haarli commented Oct 28, 2020

Problem occurs again for new registered users on faces:

Hello,
I signed up to access the FACES database yesterday. The link to create my password seems to lead to a blank pasge.

Might be related to #1186

@haarli haarli added the bug Issue found during QA testphase (qa-imeji) label Oct 28, 2020
helkv added a commit that referenced this issue Nov 17, 2020
…tion link is invalid

-> Render user information instead of the registration form, when the registration link is invalid
-> Different user information depending on the user being logged in or not
- Add several new messages and labels
haarli added a commit that referenced this issue Nov 17, 2020
#1195 Show user information when registration link is invalid
@helkv
Copy link
Contributor

helkv commented Nov 17, 2020

The problem is most likely caused by an invalid registration link (invalid registration token).

There are multiple reasons the registration link gets invalid:

  1. The registration was successful
    -> A registration is successful after a user confirms his registration, using the registration link. A registration link does not work if it is used a second time (e.g. The user clicks the same registration link twice).
  2. The registration token expired
    -> Registration tokens expire after some time. A registration link does not work after its token expired (e.g. The user requires too much time to click the link).

Solution:
Show helpful information (instead of a blank page) if an invalid registration link is used. A different help text is displayed, depending whether the user is logged in or not.

@helkv helkv linked a pull request Nov 17, 2020 that will close this issue
@helkv helkv added this to Done in imeji 4.9 Nov 17, 2020
@helkv
Copy link
Contributor

helkv commented Dec 8, 2020

Testserver: qa imeji
Browser: ff
Version: version 4.9.6 - build date 2020-12-08 08:01:27
Result: ok

@helkv helkv closed this as completed Dec 8, 2020
imeji 4.9 automation moved this from Done to Closed Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue found during QA testphase (qa-imeji)
Projects
imeji 4.9
  
Closed
Development

Successfully merging a pull request may close this issue.

2 participants