Closed mvidalgarcia closed 3 years ago
* After confirming the email and seeing the notification in the top of sign in form, once user logs in the notification bar is still shown. We probably want to clean the notifications once user logs in / logs out. This is not caused by PR, so we can create an separate issue for that.
I'll check if I can clean notifications before sign in. Thanks. Edit: Addressed here
* I noticed that it's possible to confirm other users account while being logged in, not sure if this is expected behaviour?
Interesting, I had never tested that... I see that the confirmation happens, but later an "Invalid token" error is received and the user gets signed out. I'm afraid this is the Invenio behavior (/confirm-email
) and there's no much we can do. In principle, this confirm token should only be accessed by the user confirming their email. Not sure if we should open a ticket to keep track of this, although it looks like a very rare corner case to me.
* Also it's possible to confirm already confirmed account, we should probably display some kind of different message in this case?
Changed, pushing soon, it was hardcoded, now we display the message coming from the server, which is something like "You've already confirmed this account" in that particular case.
closes reanahub/reana#472
TODO:
Steps to test:
notifications
in Helmvalues.yaml
: