]> cat aescling's git repositories - mastodon.git/commit
Fix invite request input not being shown on sign-up error if left empty (#13089)
authorThibG <thib@sitedethib.com>
Sun, 16 Feb 2020 11:38:22 +0000 (12:38 +0100)
committerGitHub <noreply@github.com>
Sun, 16 Feb 2020 11:38:22 +0000 (12:38 +0100)
commitcb28f61a6cf80dd461852b821d1ed3b3467fa89e
tree93a2dd33ca2f6bef0fc222f3b8a129082e4e9601
parentbd4bbba98a947085c56a7e4075f4837ef45d8528
Fix invite request input not being shown on sign-up error if left empty (#13089)

If the “Why do you want to join?” textarea is left empty and the entered params
do not validate, the textarea isn't shown again, unlike other fields.

This commit fixes that by populating an empty `UserInviteRequest` when needed.
app/views/auth/registrations/new.html.haml