discourse/app
Martin Brennan 40e8912395
FIX: Invite redemption error if user had already redeemed (#19070)
When opening the invite acceptance page when the user
was already logged in, we were still showing the Accept
Invitation prompt even if the user had already redeemed
the invitation and was present in the `InvitedUser` table.

This would lead to errors when the user clicked on the button.

This commit fixes the issue by hiding the Accept Invitation
button and showing an error message instead indicating that
the user had already redeemed the invitation. This only applies
to multi-use invite links.
2022-11-17 15:51:58 +10:00
..
assets FIX: Invite redemption error if user had already redeemed (#19070) 2022-11-17 15:51:58 +10:00
controllers FIX: Invite redemption error if user had already redeemed (#19070) 2022-11-17 15:51:58 +10:00
helpers Meta topic: https://meta.discourse.org/t/meta-theme-color-is-not-respecting-current-color-scheme/239815 (#18832) 2022-11-07 10:06:26 +03:00
jobs FEATURE: Add cooked post to user archive exports (#18979) 2022-11-11 11:07:32 +00:00
mailers
models FIX: Invite redemption error if user had already redeemed (#19070) 2022-11-17 15:51:58 +10:00
serializers FIX: do not lock account if backup codes are available (#18982) 2022-11-11 13:00:06 +11:00
services FIX: status was clearing after editing user preferences (#18887) 2022-11-16 21:42:56 +04:00
views UX: better password reset error page (#18970) 2022-11-10 17:48:25 +05:30