mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 17:18:19 +08:00
40e8912395
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. |
||
---|---|---|
.. | ||
images | ||
javascripts | ||
stylesheets |